[Reminder] How-to add a custom usercontrol with the SharePoint Designer

Posted by Eric Bartels

Open the desired page (e.g. DispForm.aspx) with the SharePoint Designer and add the following code below the initial “<%@ statements”: <%@ Register TagPrefix="MyNamePrefix" TagName="MyNameForTheControl" Src="~/_controltemplates/MyCustomControls/MyCurrentlyUsedControl.ascx" %> Now add this code where the control should appear in the final rendered page: <MyNamePrefix:MyNameForTheControl ID="MyNameForTheControl" runat="server" /> Thats it! Of course your user control must be placed in [...]