Hot answers tagged

1

I see that all default webpart page layouts reside in below layout path C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\1033\STS\DOCTEMP\SMARTPGS\ So in this path I will add my one page layout.Then add below code to create page based on the layout. string newFilename = textbox1.text; string templateFilename = ...


1

<asp:Content contentplaceholderid="PlaceHolderAdditionalPageHead" runat="server"> <PublishingWebControls:EditModePanel runat="server"> <!-- with the built-in control --> <SharePoint:CssRegistration Name="somepath/somecss.css" runat="server" /> <!-- classic --> <link href="<%$ ...



Only top voted, non community-wiki answers of a minimum length are eligible