I am using pagelist control to bring menus to my web browser.
I have menus like the following
Root
General
General Item 1
General Item 2
General Item 3
Policy
Policy Item 1
Policy Item 2
Policy Item 3
I need to display in the above fashion and General & Policy should not be a clickable link.
Please guide how to use nested pagelist to display both parent and child menus, Thanx in advance.
Murali
You could check the Indent property on the pages in the list. They will be populated with values, starting at 0, increasing for each level.
In this case, indent=1 should not display a link. Actually, the indent depends on if you're showing the root page too. Just print the Indent value after the name, and you'll see what value to use.
/Steve