Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Alter menu links in sitemap driven menu

Status
Not open for further replies.

jondow

Programmer
Oct 19, 2006
45
GB
Using VB.NET 2.0 with VS2005

Hi All,

I have a sitemap driven menu on my website, I need tio be able to dynamically add the the url of each link item, so for example the element:

<siteMapNode url="Test.aspx" title="Test" description="Test" />

...needs be have its link converted to Test.aspx?ID=1 where the ID of 1 is dynamically assigned in code behind.

Can anyone tell me how to do this?

Thanks

Rick
 
Not to worry, I have done it on the menuitemdatabound.

Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top