I'm facing an issue with the implementation of my custom StaticSiteMapProvider. The development is based on a code sample provided on MSDN and the aim of it is to build the sitemap from an XML document sotred in a database.
This XML document has the same schema a in "*.sitemap" file. Evrything works except I can't add child nodes to the root node. The recursive method I've implemented works perfectly to add child nodes except for the root one...
Here is my code below
public class SqlSiteMapProvider : StaticSiteMapProvider
private SqlConnection accessConnection = null;
private SiteMapNode rootNode = null;
private bool initialized = false;
private int compteur = 0;
public virtual bool IsInitialized
View Complete Post