Dynamically generate ASP.NET Sitemap

Posts   
 
    
daz_oldham avatar
daz_oldham
User
Posts: 62
Joined: 20-Jul-2007
# Posted on: 14-May-2008 13:44:10   

Hello

Does anyone have any advice of doing this?

I use LLBL to do the data access layer for my CMS, so naturally it would be nice if I could write some code to automatically write dynamic sitemaps that I can use with the default ASP.NET navigation controls and Telerik menu controls.

I've only ever used static .sitemap files for this in the past, so the answer might be really simple and obvious sunglasses

Many thanks

Darren

Walaa avatar
Walaa
Support Team
Posts: 14994
Joined: 21-Aug-2005
# Posted on: 14-May-2008 17:15:41   

You should create a custom SiteMap Provider.

Here is a relvenat link that will get you started: http://aspnet.4guysfromrolla.com/articles/020106-1.aspx