admin
-
2/23/2006 7:39:24 AM
Re: CMSViewer data... accessible?
Hello,
you will need to use Kentico CMS API to retrive the data, unfortunately, they are not available as a property of CMS Controls.
You can do something like this:
TreeNode doc = Functions.GetCurrentDocument();
or
DataSet ds = Functions.GetTreeProvider().SelectNodes("/%", TreePathTypeEnum.AliasPath)
Please let me know if you need any further details.
Best Regards,
|