How to use nested pagelist

Vote:
 
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
#12591
Mar 25, 2008 18:35
Vote:
 
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
#14556
Mar 25, 2008 18:45
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.