More in this section

Forums / Developing with Sitefinity / Detecting the homepage

Detecting the homepage

2 posts, 0 answered
  1. Devin
    Devin avatar
    149 posts
    09 Jun 2009
    07 Mar 2011
    Link to this post
    Hi is there a property that specifies if a page has been set as the homepage?

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    07 Mar 2011
    Link to this post
    Hi Devin,

    You can use  UrlHelper.HomePage.

    Ivan Dimitrov
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
2 posts, 0 answered