Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. SharePoint
  4. Sharepoint pagelayout unable to access SPWebpartmanager from master page

Sharepoint pagelayout unable to access SPWebpartmanager from master page

Scheduled Pinned Locked Moved SharePoint
javascriptsharepointhelpquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nainakarri
    wrote on last edited by
    #1

    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

    I 1 Reply Last reply
    0
    • N nainakarri

      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

      I Offline
      I Offline
      Ingo
      wrote on last edited by
      #2

      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.

      N 1 Reply Last reply
      0
      • I Ingo

        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.

        N Offline
        N Offline
        nainakarri
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups