Has anyone used the PageSiteMapProvider class?
I get correct node names from it, but I can't seem to bind it to a ASP.NET SiteMapPath control? I keep getting an error stating:
System.ArgumentNullException: Paramater has no page set
Parameter name: pageLink
Any ideas?
Hi!
I haven't explicitly set a start page for the PageSiteMapProvider object, the only properties that seem relevant are read-only?
What I've done so far is to declare a new PageSiteMapProvider object and then assign it to a SiteMapPath object's Provider property.
Thanks for your help!
Hi
I have corrected a bug in PageSiteMapProvider which probably caused the error you seen.
Also now when using Property webcontrol inside templates in SiteMapPath control they will fetch data from the correct page (that is the current item in the templated control and not the currently loaded page).
The fix will be included in RC4.