Solved

treeview sort

Posted on 2013-02-05
2
321 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
Comment Utility
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
Comment Utility
tks
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

762 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

10 Experts available now in Live!

Get 1:1 Help Now