<?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="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Treeview sorting</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : Treeview sorting]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 13:40:38 +0000</pubDate>
  <lastBuildDate>Sat, 09 Oct 2010 14:07:10 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=16308</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Treeview sorting : try this................. Dim...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16308&amp;PID=60782&amp;title=treeview-sorting#60782</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6413">b4db0yb4d</a><br /><strong>Subject:</strong> 16308<br /><strong>Posted:</strong> 09 October 2010 at 2:07pm<br /><br />try this.................<img src="http://forum.codejock.com/smileys/smiley2.gif" border="0" alt="Wink" title="Wink" /><div><div>&nbsp;&nbsp;</div><div><table width="99%"><tr><td><pre class="BBcode">Dim tvn As Node</div><div>&nbsp;&nbsp; &nbsp;Dim tvn2 As Node</div><div><br></div><div>&nbsp;&nbsp; sName = 1</div><div><br></div><div>&nbsp;&nbsp; Set tvn = TreeView1.Nodes(sName)</div><div>&nbsp;&nbsp; &nbsp;tvn.Sorted = False</div><div><br></div><div>&nbsp;&nbsp; chil = tvn.Children: If chil = 0 Then Exit Sub &nbsp; &nbsp; ' if no children the exit</div><div>&nbsp;&nbsp; Set tvn = tvn.Child.LastSibling</div><div>&nbsp;&nbsp; &nbsp;</div><div>&nbsp;&nbsp; For a = 1 To chil</div><div>&nbsp;&nbsp; &nbsp;Set tvn2 = tvn</div><div>&nbsp;&nbsp; &nbsp;</div><div>&nbsp;&nbsp; &nbsp;Set tvn = tvn.Previous</div><div>&nbsp;&nbsp; &nbsp;TreeView1.Nodes.Remove tvn2.Index</div><div>&nbsp;&nbsp; &nbsp;</div><div>&nbsp;&nbsp; &nbsp;'MsgBox tvn2</div><div>&nbsp;&nbsp; &nbsp;</div><div>&nbsp;&nbsp; &nbsp;TreeView1.Nodes.Add sName, 4, tvn2.Key, tvn2</div><div>&nbsp;&nbsp; Next</pre></td></tr></table> i dnt knw it will help u or not&nbsp;<img src="http://forum.codejock.com/smileys/smiley19.gif" border="0" alt="Cry" title="Cry" /></div></div>]]>
   </description>
   <pubDate>Sat, 09 Oct 2010 14:07:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16308&amp;PID=60782&amp;title=treeview-sorting#60782</guid>
  </item> 
  <item>
   <title><![CDATA[Treeview sorting :    Baldur wrote:You must than...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16308&amp;PID=59334&amp;title=treeview-sorting#59334</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6235">ewink</a><br /><strong>Subject:</strong> 16308<br /><strong>Posted:</strong> 14 July 2010 at 3:31pm<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by Baldur" alt="Originally posted by Baldur" style="vertical-align: text-bottom;" /> <strong>Baldur wrote:</strong><br /><br />You must than add the nodes in sorted order.</td></tr></table><br><br><span id="result_" ="short_text"><span style=": rgb(230, 236, 249); color: rgb(0, 0, 0);" title="">Could you explain more details ?? <img src="http://forum.codejock.com/smileys/smiley4.gif" border="0" align="absmiddle"><br><br><img src="uploads/20100714_152400_Untitled.jpg" height="274" width="251" border="0"><br></span></span><span id="result_" ="short_text"><span style="" title="">I also want to sort based on image <img src="http://forum.codejock.com/smileys/smiley19.gif" border="0" align="absmiddle"></span></span><br>]]>
   </description>
   <pubDate>Wed, 14 Jul 2010 15:31:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16308&amp;PID=59334&amp;title=treeview-sorting#59334</guid>
  </item> 
  <item>
   <title><![CDATA[Treeview sorting : You must than add the nodes in...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16308&amp;PID=57608&amp;title=treeview-sorting#57608</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2531">Baldur</a><br /><strong>Subject:</strong> 16308<br /><strong>Posted:</strong> 15 March 2010 at 12:13pm<br /><br />You must than add the nodes in sorted order.]]>
   </description>
   <pubDate>Mon, 15 Mar 2010 12:13:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16308&amp;PID=57608&amp;title=treeview-sorting#57608</guid>
  </item> 
  <item>
   <title><![CDATA[Treeview sorting : Hey...any body know how do i sort...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16308&amp;PID=57192&amp;title=treeview-sorting#57192</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5397">alen11</a><br /><strong>Subject:</strong> 16308<br /><strong>Posted:</strong> 28 February 2010 at 1:44am<br /><br />Hey...any body know how do i sort the treeview node manually?<br /><br />because beside i want to sort treeview by the alphabet i also want to sort treeviewnode by image<br /><br />so please somebody help me,i use vb6..thanks <img src="http://forum.codejock.com/smileys/smiley19.gif" border="0" align="middle"> ]]>
   </description>
   <pubDate>Sun, 28 Feb 2010 01:44:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16308&amp;PID=57192&amp;title=treeview-sorting#57192</guid>
  </item> 
 </channel>
</rss>