Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > IE Web TreeView Control - Sorting?

Thread Tools

IE Web TreeView Control - Sorting?

Aaron Corcoran
Posts: n/a
Dear Group,

My coworker has been working on a project that uses the IE TreeView
control to mimic an explorer window. Everything works close to plan
except the way the control sorts the files. If you take the following
filenames as an example, sorted the way Windows Explorer would handle
them by name:

1-1 Warforged
1-2 Eberron is Wonderful
1-10 Pierce Lives
1-20 Go Vaddi Go
Chapter One
Chapter Two
Chapter Three

If you view these in the TreeView control, it sorts them
alphabetically, returning the results:

1-1 Warforged
1-10 Pierce Lives
1-2 Eberron is Wonderful
1-20 Go Vaddi Go
Chapter One
Chapter Two
Chapter Three

Is there an easy way to handle an alphanumeric search, similar to that
of Windows Explorer using the IE Web TreeView control? I do understand
that the users could put leading zeros on all of their numbers to get
the desired result; however, I'd like to alleviate that strain and
aid my coworker in this task. I'm sure there is a parsing routine I
could use as well, but again, this seems overly complex as though I
might be missing something.

Any assistance in the matter would be most helpful.


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to access the Page from a TreeNode (treeview 's element) : addinga context menu to a treeview abargaddon ASP .Net Building Controls 0 01-17-2008 11:05 AM
Microsoft Treeview vs System Treeview stepkurt ASP .Net Web Controls 1 09-02-2007 11:32 AM
ASP.NET 2.0 TreeView - Programatically Selecting A TreeView Node =?Utf-8?B?VHltYm93?= ASP .Net 2 01-10-2006 03:51 AM
Issue with a custom TreeView derived from the TreeView control Ionutz ASP .Net Web Controls 2 10-23-2005 03:23 PM
TreeView not rendering nodes? Cacheing of a TreeView Per Salmi ASP .Net Web Controls 1 10-15-2003 01:15 PM