+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Page Title : how can we access the page title field of the sitefinity pages

Page Title : how can we access the page title field of the sitefinity pages

2 posts, 0 answered
  1. Shekar
    Shekar avatar
    35 posts
    Registered:
    11 Mar 2011
    31 May 2011
    Link to this post
    I want to display the page title separately below the bread crumbs with in the tags h1, 
    how can i access the page title field in a master page, thanks in advance for your support.
  2. Boyan Barnev
    Boyan Barnev avatar
    1429 posts
    Registered:
    08 Dec 2016
    02 Jun 2011
    Link to this post
    Hi Shekar,

    You can get the current node text from the code-behind of your masterpage, for example like this:
    if (!(SiteMapBase.GetActualCurrentNode() == null))
                {
                    Response.Write(SiteMapBase.GetActualCurrentNode().ToString());
                }

    Kind regards,
    Boyan Barnev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered