How Can I Make a tree view similar to what is used in popular forums to show main subjects and their subs?

Geetings everyone!
I'll try to describe my problem clearly, it is a bit hard to explain, but here it is:
when I access many forums on the Internet they usually have what looks like a tree-like hirarchy at the very top of every web page to show you under which main subject and sub-subject is the article is under, and this tree-like structure contains hyperlinks, so I can click on the Main subject hyperlink so go back to the main article. I hope this makes sense. so I am trying to find a way to create something similar on my web site which I am using ASP.NET with, and Visual Studio 2005 as my IDE, I  thought of having a placeholder contorl and then during runtime I would create a hyperlinks and labels and palce them inside the placeholder control but it won't comeup neatly, I wonder if there is something else I could try to accomplish what I need.
thanks in advance.
~Salman~
salman_sulaiman_2008Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Jorge PaulinoConnect With a Mentor IT Pro/DeveloperCommented:
Hi salmanm

You have a lot of good controls to use for navigation. You have the standard ones like treeview, sitemap, dinamic menus http://www.w3schools.com/aspnet/aspnet_navigation.asp, and the AJAX ones like http://www.asp.net/AJAX/AjaxControlToolkit/Samples/Accordion/Accordion.aspx that you can ajust to use as a menu.

Of couse that all the example you have to change the controls colors, background, foreground, etc.

Tell me wath you think about it.

0
 
Jorge PaulinoIT Pro/DeveloperCommented:
I think it's easy if you show us an example. Maybe a link.
0
 
salman_sulaiman_2008Author Commented:
Greetings Ipaulino!
thanks for the reply mate.
actually it is implemented here too, on Experts-exchange web site, if you look at the very top of the page, there is a hirarchy of main subject, and sub-subjects under it, looks like  this:
------------------
Home // Microsoft // Development // .NET // Visual Studio .NET 2005 // How Can I Make a tree view similar to what is used in popular forum...
--------------
but on experts-exchange they have it like a bar, instead of a tree-like, so if somehow I can replace the backslashes "//" with something like else so that whatever comes next becomes under the its main catagory, so it could look like this:

Home
|__Microsoft
       |__Development
             
but this would take too much space, so now I am thinking about it, it would be nice to have it like this:

Home --> Microsoft --> Developement --> .NET --> Visual Studio .NET 2005

now, my first thought when thinking of making such a thing is, to use hyperlinks and labels, so  the label would have the characters "-->" and the hyperlinks will have the titles. but is it how I should do it, or is there somekind of control which I should use?

~salman~
Home // Microsoft // Development // .NET // Visual Studio .NET 2005 // How Can I Make a tree view similar to what is used in popular forum... 

Open in new window

0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
salman_sulaiman_2008Author Commented:
Greetings Ipaulino!
thanks for the reply mate.
actually it is implemented here too, on Experts-exchange web site, if you look at the very top of the page, there is a hirarchy of main subject, and sub-subjects under it, looks like  this:
------------------
Home // Microsoft // Development // .NET // Visual Studio .NET 2005 // How Can I Make a tree view similar to what is used in popular forum...
--------------
but on experts-exchange they have it like a bar, instead of a tree-like, so if somehow I can replace the backslashes "//" with something like else so that whatever comes next becomes under the its main catagory, so it could look like this:

Home
|__Microsoft
       |__Development
             
but this would take too much space, so now I am thinking about it, it would be nice to have it like this:

Home --> Microsoft --> Developement --> .NET --> Visual Studio .NET 2005

now, my first thought when thinking of making such a thing is, to use hyperlinks and labels, so  the label would have the characters "-->" and the hyperlinks will have the titles. but is it how I should do it, or is there somekind of control which I should use?

~salman~
Home // Microsoft // Development // .NET // Visual Studio .NET 2005 // How Can I Make a tree view similar to what is used in popular forum... 

Open in new window

0
 
salman_sulaiman_2008Author Commented:
Greetings Ipaulino!
those were fantastic stuff mate! thanks for sharing with me those two links. for now the SiteMapPath would do the job for now, but the AJAX stuff are really amazing, man! it got me all excited, specially with the animation, I always wondered how to add animation to a web application quickly and neatly, AJAX just rocks!  
thanks again Ipaulino!
best wishes,
~salman~
0
 
Jorge PaulinoIT Pro/DeveloperCommented:
Thanks for the grade salmanm. AJAX is really good and provide us very good stuff for the web pages.

Have fun with that and your pages will look fantastic.

Remark: jpaulino not Ipaulino :-)
0
All Courses

From novice to tech pro — start learning today.