asp:menu only show children

C

chandy

Hi,

I have created a sitemapprovider for my site. Now I want to add a menu
control but I only want to show the children of the current node. I
have set the provider root to the current node but how do I tell the
menu control not to show the root?

The menu should be static and just show:

child1
child2
child3

but instead it shows:

root
child1
child2
child3

How do I get it to not show the root?

Chandy
 
C

chandy

For posterity, set ShowStartingNode="false" on the sitemapdatasource
used by the control.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,764
Messages
2,569,566
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top