accessing a pagetree container in the code behind

Vote:
 
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;
#13240
Mar 25, 2008 18:35
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.