Solved

treeview sort

Posted on 2013-02-05
2
322 Views
Last Modified: 2013-02-05
want my treeview to show in descending order.
using file and folder system to show files in treeview.

treeview1.sort does not even show. there is no class called sort.

   Dim rootDir As New DirectoryInfo(Server.MapPath("~//"))

            ' Enter the RecurseNodes function to recursively walk the directory tree.
            Dim RootNode As TreeNode = RecurseNodes(rootDir)
            ' Add this Node hierarchy to the TreeNode control.
            Treeview1.Nodes.Add(RootNode)
0
Comment
Question by:sevensnake77
2 Comments
 
LVL 35

Accepted Solution

by:
Miguel Oz earned 500 total points
ID: 38857308
You have to build your own sort method, check:
http://stackoverflow.com/questions/776162/asp-net-treeview-sort
0
 
LVL 9

Author Closing Comment

by:sevensnake77
ID: 38857426
tks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now