I am interested in how to chose an item from a site control list based on a url. Take a look at this web page and locate the highlited Internet Operations item which is higlited based on a current url.
http://www.download.com/Internet-Operations/3150-2648_4-0.html?tag=nav_dir
Can someone give me a tip on how to achieve this?
ThanksIs'nt the sitemap control in ASP.NEt 2.0. If yes than I guess you will be better posting this question on ASP.NET 2.0 forum.
Here is the link to the forum:
http://forums.asp.net/default.aspx?ForumGroupID=26
Hope it helps!
What about asp.net 1.1? How to achieve it in 1.1?
Some third parties have created site map and other menus. You will find them on this site's Control Gallery,www.123aspx.com, andwww.411asp.net.
ComponentArthas a Site Map;Telerikhas its PanelBar that may be relevant.
You can achieve the same results as the example in the link you posted by using a Datalist control and "SelectedIndex". The nested menu would be a secondary datalist referred to in the SelectedItemTemplate portion of the code. The highlighting is achieved using SelectedItemStyle.
0 comments:
Post a Comment