kentico_jurajo
-
3/27/2008 3:02:19 PM
RE:How to get parent node information?
Hi,
Thank you for your message.
Could you please try to use something like this:
TreeNode tn = SelectSingleNode(CMS.CMSHelper.CMSContext.CurrentDocument.NodeParentID);
if (tn <> null) { //you got the parent ID and you can use it to get more info }
I hope this will cover your needs.
Best Regards, Juraj Ondrus
|