Solved

treeview sort

Posted on 2013-02-05
2
323 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

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 .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…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

805 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