Finding out if a page is published programatically

Posted by Community Admin on 03-Aug-2018 16:47

Finding out if a page is published programatically

All Replies

Posted by Community Admin on 13-Dec-2010 00:00

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

Posted by Community Admin on 13-Dec-2010 00:00

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

Posted by Community Admin on 13-Dec-2010 00:00

thks !


jon

This thread is closed