<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Sorting drop-down list box</title><link>https://www.infopathdev.com:443/forums/thread/38320.aspx</link><pubDate>Wed, 11 Feb 2009 15:20:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:38320</guid><dc:creator>discodave82</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/38320.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=38320</wfw:commentRss><description>&lt;p&gt;My solution to the browser based sort order can be found&amp;nbsp;here &lt;/p&gt;
&lt;p&gt;&lt;a href="http://social.msdn.microsoft.com/Forums/en-US/sharepointinfopath/thread/4f739cec-220e-4ab2-a6d9-13079e43844a"&gt;http://social.msdn.microsoft.com/Forums/en-US/sharepointinfopath/thread/4f739cec-220e-4ab2-a6d9-13079e43844a&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: Sorting drop-down list box</title><link>https://www.infopathdev.com:443/forums/thread/35820.aspx</link><pubDate>Tue, 16 Dec 2008 15:04:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35820</guid><dc:creator>cali_kid</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35820.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=35820</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m new to InoPath... can you explain to me the steps neccesary to make this happen? &lt;/p&gt;</description></item><item><title>Re: Sorting drop-down list box</title><link>https://www.infopathdev.com:443/forums/thread/35787.aspx</link><pubDate>Tue, 16 Dec 2008 06:10:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35787</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35787.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=35787</wfw:commentRss><description>&lt;div class="ForumPostContentText"&gt;
&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;We can sort using the below code,&lt;/p&gt;
&lt;p&gt;ArrayList sortValues = new ArrayList();&lt;/p&gt;
&lt;p&gt;foreach(IXMLDOMNode repeatingNode in repeatingNodes)&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;sortValues.Add(repeatingNode.xml);&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;sortValues.Sort();&lt;/p&gt;
&lt;p&gt;Using above code it will sort by order and we have to replace old repeating section nodes with new repeating section nodes.&lt;/p&gt;
&lt;p&gt;You can use this when you want to sort those values in OnLoad or OnClick event of button.&lt;/p&gt;&lt;/div&gt;</description></item><item><title>Re: Sorting drop-down list box</title><link>https://www.infopathdev.com:443/forums/thread/35782.aspx</link><pubDate>Tue, 16 Dec 2008 05:35:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35782</guid><dc:creator>Anuma</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35782.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=35782</wfw:commentRss><description>&lt;p&gt;Hi,&lt;br /&gt;Can you try these links.&lt;br /&gt;&lt;a class="WNAnc" href="http://www.infopathdev.com/forums/p/7095/31018.aspx#31018" target="winout"&gt;http://www.infopathdev.com/forums/p/7095/31018.aspx#31018&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a class="WNAnc" href="http://www.infopathdev.com/forums/p/9772/34643.aspx#34643" target="winout"&gt;http://www.infopathdev.com/forums/p/9772/34643.aspx#34643&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Sorting drop-down list box</title><link>https://www.infopathdev.com:443/forums/thread/35775.aspx</link><pubDate>Mon, 15 Dec 2008 16:51:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35775</guid><dc:creator>cali_kid</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35775.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=35775</wfw:commentRss><description>&lt;p&gt;Is there any way to sort a secondary data source in Browser Enabled form? I have a form with mulitple views, and in order to create a preserve code block I have to go and edit all XSL sheets that correspond that form. I&amp;#39;m populating a dropdown menu from a SharePoint List, in the thick client (Info Path) the form appears and renders the sort order that is being used&amp;nbsp;from my SharePoint view. I&amp;#39;ve have created a preserve code block, but that feature is not supported in a browser enabled form.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: Sorting drop-down list box</title><link>https://www.infopathdev.com:443/forums/thread/18372.aspx</link><pubDate>Wed, 09 Aug 2006 03:14:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:18372</guid><dc:creator>Shiraz Cupala</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/18372.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=18372</wfw:commentRss><description>Unfortunately this requires code.  Fortunately becuase you created 2 different data connections you can write code to sort the data in the data connection you're using for the number dropdown.  You will have to put this in your OnLoad or in your onAfterChange event for the first dropdown to be sure it happens after the query has been executed OnLoad.  Then the values in the number dropdown will be in the order you desire.</description></item><item><title>Sorting drop-down list box</title><link>https://www.infopathdev.com:443/forums/thread/18317.aspx</link><pubDate>Sun, 18 Dec 2005 09:58:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:18317</guid><dc:creator>IritP</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/18317.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=18317</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;I design a form that gets it data from SharePoint lists and in the save commend it generate a form to SharePoint form library.&lt;br /&gt;&lt;br /&gt;In my form there are 2 drop-down list boxes that gets there data from the same SharePoint list. That list contains a name and number and it sorted in SharePoint by the name.&lt;br /&gt;&lt;br /&gt;Because I want that when I choose name in the first drop-down list box, I will get the relevant number in the second drop-down list box and vice versa, I created 2 different data connections, and add rules to set the other field.&lt;br /&gt;&lt;br /&gt;All that works fine.&lt;br /&gt;&lt;br /&gt;Now I want to sort the number drop-down list box. I cant sort it in the SharePoint because then I will have the same problem with the name drop-down list box.&lt;br /&gt;&lt;br /&gt;Are there any suggestions? &lt;br /&gt;</description></item></channel></rss>