PageId for current page

Posted by Community Admin on 04-Aug-2018 06:32

PageId for current page

All Replies

Posted by Community Admin on 15-Jun-2012 00:00

I need to get the id of the current sitefinity page from within a widget programmatically.
How can I do this?

Posted by Community Admin on 15-Jun-2012 00:00

Try:
(Guid) Telerik.Sitefinity.Web.SiteMapBase.GetActualCurrentNode().Id

Posted by Community Admin on 15-Jun-2012 00:00

Hi,

new Guid(SiteMapBase.GetCurrentProvider().CurrentNode.Key);

Regards,
Nicolas

This thread is closed