<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : [SOLVED] Sorting Lists</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : [SOLVED] Sorting Lists</description>
  <pubDate>Wed, 15 Apr 2026 00:34:25 -700</pubDate>
  <lastBuildDate>Fri, 19 Oct 2007 16:22:50 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=515</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>[SOLVED] Sorting Lists : I removed the AddListManager_KeepExistingEntitiesOnly...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=515&amp;PID=1709#1709</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=24" rel="nofollow">Linguinut</a><br /><strong>Subject:</strong> 515<br /><strong>Posted:</strong> 19-Oct-2007 at 4:22pm<br /><br />I removed the AddListManager_KeepExistingEntitiesOnly method...and it works, now.<DIV>&nbsp;</DIV><DIV>CopyConverter should preserve the sort.&nbsp; I do not see anything in the method that would alter the sort.</DIV>]]>
   </description>
   <pubDate>Fri, 19 Oct 2007 16:22:50 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=515&amp;PID=1709#1709</guid>
  </item> 
  <item>
   <title>[SOLVED] Sorting Lists : Does CopyConverter&amp;lt;&amp;gt;() preserve...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=515&amp;PID=1705#1705</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=97" rel="nofollow">Bill Jensen</a><br /><strong>Subject:</strong> 515<br /><strong>Posted:</strong> 19-Oct-2007 at 2:55pm<br /><br /><P>Does CopyConverter&lt;&gt;() preserve the sort specification?&nbsp; You might try calling Sort(displayPropertyName, sortDirection) on the copied converter.</P><DIV>&nbsp;</DIV><DIV>Bill J.</DIV>]]>
   </description>
   <pubDate>Fri, 19 Oct 2007 14:55:26 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=515&amp;PID=1705#1705</guid>
  </item> 
  <item>
   <title>[SOLVED] Sorting Lists : One of my lists is not sorting...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=515&amp;PID=1699#1699</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=24" rel="nofollow">Linguinut</a><br /><strong>Subject:</strong> 515<br /><strong>Posted:</strong> 19-Oct-2007 at 1:40pm<br /><br /><P>One of my lists is not sorting by the field that I would like.&nbsp; Here is the code from the ListConverterService:</P><FONT color=#808080 size=2><DIV></FONT><FONT color=#0000ff size=2>private</FONT><FONT size=2> </FONT><FONT color=#2b91af size=2>ListConverter</FONT><FONT size=2> MakeMachineListConverter()</FONT></DIV><DIV><FONT size=2>{</FONT></DIV><DIV><FONT size=2>&nbsp;&nbsp;&nbsp; <FONT color=#2b91af>EntityQuery</FONT> aQuery = <FONT color=#0000ff>new</FONT> <FONT color=#2b91af>EntityQuery</FONT>(<FONT color=#0000ff>typeof</FONT>(<FONT color=#2b91af>MachineMaster</FONT>), <FONT color=#2b91af>MachineMaster</FONT>.MachineDivisionEntityColumn, <FONT color=#2b91af>EntityQueryOp</FONT>.EQ, mDivision);</FONT></DIV><DIV><FONT size=2><FONT color=#2b91af>&nbsp;&nbsp;&nbsp; EntityListConverter</FONT>&lt;<FONT color=#2b91af>MachineMaster</FONT>&gt; converter = <FONT color=#0000ff>new</FONT> <FONT color=#2b91af>EntityListConverter</FONT>&lt;<FONT color=#2b91af>MachineMaster</FONT>&gt;(EntityManager, <FONT color=#2b91af>EntityPropertyDescriptors</FONT>.MachineMaster.MachineNumber.Name, <FONT color=#2b91af>Editability</FONT>.Optional, aQuery, <FONT color=#0000ff>true</FONT>, <FONT color=#2b91af>ListSortDirection</FONT>.Ascending, <FONT color=#2b91af>EntityPropertyDescriptors</FONT>.MachineMaster.MachineIdx.Name);</FONT></DIV><DIV><FONT size=2>&nbsp;&nbsp;&nbsp; AddListManager_KeepExistingEntitiesOnly(converter);</FONT></DIV><DIV><FONT size=2>&nbsp;&nbsp;&nbsp; <FONT color=#0000ff>return</FONT> converter;</FONT></DIV><DIV><FONT size=2>}</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT color=#0000ff><FONT size=2>private</FONT></FONT><FONT size=2> <FONT color=#2b91af>ListConverter</FONT> MakeMachineIdListConverter()</FONT></DIV><DIV><FONT size=2>{</FONT></DIV><DIV><FONT size=2>&nbsp;&nbsp;&nbsp; <FONT color=#2b91af>ListConverter</FONT> converter = CopyConverter&lt;<FONT color=#2b91af>MachineMaster</FONT>&gt;(<FONT color=#2b91af>ListConverterNames</FONT>.MachineList);</FONT></DIV><DIV><FONT size=2><FONT color=#008000>&nbsp;&nbsp;&nbsp; </FONT>converter.ValueMember = <FONT color=#2b91af>EntityPropertyDescriptors</FONT>.MachineMaster.MachineIdx.Name;</FONT></DIV><DIV><FONT size=2>&nbsp;&nbsp;&nbsp; <FONT color=#0000ff>return</FONT> converter;</FONT></DIV><DIV><FONT size=2>}</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>I have tried several variations of the creation of the EntityListConverter.&nbsp; None seem to work...all end up with the primary index sort.&nbsp; Can anyone see what I am doing wrong?</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>Btw, the final control that displays this list is a LookUpEdit control from DevExpress.&nbsp; I have other lists that work beautifully...just not this one.&nbsp; Odd.</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>Thanks!<FONT color=#0000ff></DIV></FONT></FONT><span style="font-size:10px"><br /><br />Edited by Linguinut - 23-Oct-2007 at 5:20pm</span>]]>
   </description>
   <pubDate>Fri, 19 Oct 2007 13:40:43 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=515&amp;PID=1699#1699</guid>
  </item> 
 </channel>
</rss>