Hi,
How to hide root menu on menu control?
I am binding menu control at runtime using xml datasource.
in my xml document <home> is my root element.
XML file content
<?xml version="1.0" encoding="utf-8" ?>
<
Home><Menu text="My Home Page" url="~/Default.aspx">
<
SubMenu text="Change Password" url="~/User/ChangePassword.aspx"></SubMenu><SubMenu text="Add Message" url="~/User/AddMessage.aspx"></SubMenu>
</
Menu><Menu text="News Section" url="#">
<
SubMenu text="Add News" url="#"></SubMenu><SubMenu text="Delete News" url="#"></SubMenu>
</
Menu>
</
Home>
It is also showing at runtime.
Home
My Home Page
Messages
............ etc
i used staticdisplaylevels=2.
how can i hide that root element HOME?
Thanks.
Nanda kumar R |
eMantras | Programmer