Microsoft Content Management Server - RE: Navigation in MOSS 2007 - Got it

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > May 2007 > RE: Navigation in MOSS 2007 - Got it





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author RE: Navigation in MOSS 2007 - Got it
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:
>
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com