Forums

Skip Navigation LinksHome / Developer Network / Forums / Sitefinity 3.x: General Discussions > IRootPage - cmsManger.GetRootPage()

IRootPage - cmsManger.GetRootPage()

  • Eric avatar

    Posted on Mar 9, 2010 (permalink)

    Hello,

    I am using some code to get the page name.

    IPage

     

    page = cmsManager.GetPage(currentPageID);
    page.Name;

     

     


    My problem is I have 3 pages name the same thing but in different page groups. 

    HR/FAQ.aspx
    PR/FAQ.aspx
    Schedules/FAQ.aspx

    Is there a way to get the page group of these 3 pages?  Will GetRootPage do the trick? 

    Thanks. 

    Reply

Skip Navigation LinksHome / Developer Network / Forums / Sitefinity 3.x: General Discussions > IRootPage - cmsManger.GetRootPage()