locked
How to add custom webpart in custom master page in sharepont 2010? RRS feed

  • Question

  • HI all,

    I am working on SharePoint 2010 and i want to show company stock price on my master page.

    I have developed my custom web part to show stock price.

    Please help me how can i add this web part in custom master page in SharePoint 2010.

    Thanks,

    Balaji More
    Friday, November 23, 2012 4:45 AM

Answers

  • Hi ,

    I have solved this issue.

    First deploy your web part into that web application.

    Opening your master page in SPD in edit mode, go to ribbon click on insert web part and search your custom web part in under custom tab and insert.

    this is worked for me.

    Thanks

    Balaji

    • Marked as answer by Balaji More Wednesday, February 20, 2013 4:39 AM
    Wednesday, February 20, 2013 4:39 AM

All replies

  • Balaji,

    I haven't done this yet, but see if this helps or if it'll work for you.

    http://blog.degree.no/2010/12/sharepoint-2010-show-webpart-in-masterpage/


    Pman
    http://www.pmansLab.com/

    Monday, November 26, 2012 4:17 AM
  • Hi,

     I would say in master page the visual web-part is not editable as they don't exist in web part zone, so now we can use user control as delegate control. 


    Sekar - Our life is short, so help others to grow

    Whenever you see a reply and if you think is helpful, click "Alternate TextVote As Helpful"! And whenever you see a reply being an answer to the question of the thread, click "Alternate TextMark As Answer

    Monday, November 26, 2012 12:06 PM
  • Hi ,

    I have solved this issue.

    First deploy your web part into that web application.

    Opening your master page in SPD in edit mode, go to ribbon click on insert web part and search your custom web part in under custom tab and insert.

    this is worked for me.

    Thanks

    Balaji

    • Marked as answer by Balaji More Wednesday, February 20, 2013 4:39 AM
    Wednesday, February 20, 2013 4:39 AM