I am using asp:menu. My aspx code is:
<body>
<form id="form1" runat="server">
<div>
<asp:Menu ID="Menu_Library" runat="server">
</asp:Menu>
</div>
</form>
</body>
I am generating the sub menu items (i.e) the childitems dynamically.. If i click the sub menu items it redirects me to a page which i specify like this in my code behind,
MenuItem childItem = new MenuItem();
childItem.NavigateUrl = "OtherPage.aspx";
But what i need is when i click on sub menu items, it should display some items in same page..
How to achieve this? Please help me.. It can be either in javascript or code behind.. I don't want it to navigate it to another page instead perform the action in same page..