I have been creating custom pages for Windows SharePoint Services for some time now – which enable me to create powerful SharePoint applications. However, with every custom page I create, the page title is always blank, which results in the title being the URL to that specific web page. Ugly. Here is the solution:
ContentPlaceHolderId
The trick is to add another <asp:Content> tag with the ContentPlaceHolderId set to PlaceHolderPageTitle. This allows you to set a page title for any custom SharePoint page.
<asp:Content ContentPlaceHolderId="PlaceHolderPageTitle" runat="server"> My Custom Page Title! </asp:Content>
Thats it!
I’m out…
Just ran across this when searching google for how to change the page title, and it worked perfectly! Thank you.
You’re welcome!
Thank you!