Posts

Showing posts with the label User Control

SharePoint 2010: Add User Control to Master Page Using SharePoint Designer 2010

Image
In this article I explain the steps to include a custom User Control in a Master Page in SharePoint 2010 using SharePoint Designer .   In my case, the example User Control I am adding to the Master Page in this tutorial is in the following location which would vary depending on the name and of the Control and the folder it is saved in:  “~/_controltemplates/SP2010_UserControl_Example/DynamicSiteTitle.ascx file” SharePoint Designer 2010 Master Page User Control Using SharePoint Designer 2010, open the Site and Master Page Library where the Master Page will be stored containing the User Control.  In this example, I am creating a copy of the default v4.master used in SharePoint 2010 in the root site Master Page Library and calling it v4b.master. Open the Master Page you wish to modify by right clicking the and selecting the “Edit File in Advanced Mode” option. Close to the top of the markup below the existing @Register / @Import tags, add the fol...