More in this section

Forums / General Discussions / Finding out if a page is published programatically

Finding out if a page is published programatically

3 posts, 0 answered
  1. Jon
    Jon avatar
    41 posts
    Registered:
    20 Oct 2010
    13 Dec 2010
    Link to this post
    How do you find out programatically if a page has been published. Is there a property in the PageNode object available ?

    Thanks in advance,
    Jon
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    13 Dec 2010
    Link to this post
    Hi Jon,

    The PageNode has a property GetLocalizedStatus that you can use.

    var pn = man.GetPageNode(pageNode.Id);
    var status  = pn.GetLocalizedStatus();


    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Jon
    Jon avatar
    41 posts
    Registered:
    20 Oct 2010
    13 Dec 2010
    Link to this post
    thks !


    jon
3 posts, 0 answered