Add Page Title to Custom SharePoint Page


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:

<asp:Content ContentPlaceHolderId="PlaceHolderPageTitle" runat="server">
Your Custom Page Title!
</asp:Content>

This allows you to set a page title for any custom SharePoint page.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: