Hello, I've got a question to ask you ,
I've got a MasterPage like the one describe in this tutorial. I also have got a SiteMap that must be built from static data (from the SiteMap XML file) and from data coming from a database. To this purpose I've decided to write a class which herits from the class XmlSiteMapProvider.
Due to some actions made by the user the database content may change, and in this case data displayed in the menu (in the frame on the left) have to change too. However even when I force my provider to rebuild the SiteMap, information displayed by the menu isn't updated (unless I close and reopen the browser).
I explain more in detail what I've done in my provider, I've overloaded the BuildSiteMap function this way, at the begining I call the base function and then I add my nodes (loaded from database) in the root node and then I return the root. After each database modification, I force the provider to rebuild the sitemap.
I don't know where this problem come from? (maybe from the SiteMapDataSource or the Menu).
Thanks in advance