Sharepoint pagelayout unable to access SPWebpartmanager from master page
-
Hi I have a custom master page and custom page layout. When i am trying to load the page, it gives javascrit error at onload getelementbyid(spwebpartmanager) giving error null reference. Where exactly am i going wrong? Anything to check in master page? I think because of this , there is one more error in the page. When clicking on webpart menu, giving javascript error there too. Thanks in advance Naina
Naina
-
Hi I have a custom master page and custom page layout. When i am trying to load the page, it gives javascrit error at onload getelementbyid(spwebpartmanager) giving error null reference. Where exactly am i going wrong? Anything to check in master page? I think because of this , there is one more error in the page. When clicking on webpart menu, giving javascript error there too. Thanks in advance Naina
Naina
To be honest, it's hard to answer without having a further look on the things you changed. So how do you created the custom master page? Did you use VS or SPD? If you used SPD did you removed one of the Placeholders? That would be a good option for creating errors on display. You should describe what you did and how you did and - that's important for me - which SharePoint-Version you use.
Author of Primary ROleplaying SysTem How do I take my coffee? Black as midnight on a moonless night. War doesn't determine who's right. War determines who's left.
-
To be honest, it's hard to answer without having a further look on the things you changed. So how do you created the custom master page? Did you use VS or SPD? If you used SPD did you removed one of the Placeholders? That would be a good option for creating errors on display. You should describe what you did and how you did and - that's important for me - which SharePoint-Version you use.
Author of Primary ROleplaying SysTem How do I take my coffee? Black as midnight on a moonless night. War doesn't determine who's right. War determines who's left.
Hi Thanks for replying back.... i just did little bit of check over the master page. It was because of a piece of code that was commented. SPNavigation and breadcrumb related code. Thanks, Naina
Naina