0

I'm using a custom application page and was wanting to know, how do I dynamically display a sites title within my custom application page?

1 Answer 1

1

I think we can use SharePoint content place holders in application pages. You can use the following

<asp:ContentPlaceHolder id="PlaceHolderSiteName" runat="server">
    <SharePoint:SPLinkButton runat="server" NavigateUrl="~site/" id="onetidProjectPropertyTitle"><SharePoint:ProjectProperty Property="Title" runat="server" /></SharePoint:SPLinkButton>
</asp:ContentPlaceHolder>

check the link for how it is done in master page How do I display the Site Name on my master page?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.