Hi - I'm using a page tree component which has Container.CurrentPage.PageName in the aspx page under each template type. I need to get access to this string in the code but am having problems getting it.
private void TopMenuContainer_DataBinding(object sender, EventArgs e)
PageTree ept = (PageTree) sender;
PageTemplateContainer container = ept.NamingContainer as PageTemplateContainer;
// i know the naming container is the use control that contains the pagetree control
// but don't know how to get a hold of the pagetemplatecontainer
string pageName = container.CurrentPage.PageName;