admin
-
2/21/2006 7:02:56 PM
Re: CMSTreeMenu - if no items do not show
Hi Jeremy,
you may need to use some extra code like this:
if (Functions.GetTreeProvider().SelectNodes("/%").Tables[0].Rows.Count == 0) { CMSTreeMenu1.Visible = false; }
The path in the SelectNodes("/%") expression must be same as the path that you set to the CMSTreeMenu1 control.
Please let me know if you need any help with that.
Best Regards,
|