Sunday, November 4, 2012

Change SharePoint Page Title

Change SharePoint Page Title

Add the follwing content place holder in the top of your code if not exist
<asp:Content ContentPlaceHolderId="PlaceHolderPageTitle" runat="server">
Add Title here

</asp:Content>
You can get title dynamic by add any of this tags into "PlaceHolderPageTitle"

<SharePoint:ListProperty Property="Title" runat="server"/>

<SharePoint:ListItemProperty Property="Title" runat="server"/>

<SharePoint:ProjectProperty Property="Title" runat="server"/>

<SharePoint:ListFormPageTitle runat="server"/>

No comments:

Post a Comment