Help with plug in - categoriestree
I want to use a plug in called categoriestree.ascx. By default the tree is expanded to show all levels. I want to show the tree collapsed by default.
I tried to modify treemenu.ascx by adding treemenu.CollapseAll. It doesn't work. How can I collapse a tree by default?
void Page_Load(object sender, System.EventArgs e)
NPBasePage bp = ((NPBasePage)Page);
treemenu.LinkBase = bp.VirtualPath;
treemenu.DataSource = NPCatalogCategory.GetCategoriesDataSet(bp.Catalog.CatalogID);