开发者

ASP.NET Menu loaded from database

I need to load an aspmenu from a database table. I'd like it to work as XmlSiteMap provider, I mean, only accesing the database when it changes, otherwise no.

How acan I do this, by a CustomSiteMapProvider? Any samples?

I'm using RadMenu which lets you connect directly to a database by using an ObjectDataSource, but the menu is loaded on every request so is not very good for per开发者_Go百科formance.

Thanks.


http://www.telerik.com/help/silverlight/radmenu-getting-started.html

There are a lot of good-links off of the tutorial. Besides that, if you want the menu to not be loaded on every request, then look to assigning the datasoure in the onload event, instead of the mark-up.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜