| shyam singh 2007-05-02, 7:18 pm |
| Hi Mike,
I have written a custom navigation provider which creates a sitemap from a
custom list. I have overidden the BuiltSiteMap() method to generate the map.
I want to implement the newly written provider for the Top Navigation of the
Master Page. I have tried adding a entry of my assembly to the Shareppoint
application's Web.config file under sitemap\providers. I have changed the
delegate control section as follows where " NewSiteMapProvider " is my
custom provider.
<asp:SiteMapDataSource
ShowStartingNode="False"
SiteMapProvider="NewSiteMapProvider"
id="topSiteMap"
runat="server"
StartingNodeUrl="sid:1002"/>
Once I do this the sharepoint default page is not rendered, it is giving me
error An unexpected error has occurred.
Can you help me what is the correct way of binding the provider with the
Sharepoint master page.
Thanks,
Shyam
"Mike Parris" wrote:
[vbcol=seagreen]
> I have just stumbled over the cause. You need to check in the page, even if
> you are the author of the page.
>
> Mike
>
> "Mike Parris" wrote:
>
|