Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

treeview sort

Posted on 2013-02-05
2
Medium Priority
?
332 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:Seven price
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 36

Accepted Solution

by:
Miguel Oz earned 2000 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:Seven price
ID: 38857426
tks
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

705 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