calling master page menu item to its content page

Posted by Snvrk1985 under ASP.NET on 7/5/2012 | Points: 10 | Views : 3316 | Status : [Member] | Replies : 1
i want to call the menu item selected to its content page and bind data to list view depend upon the item selected under button click.


Posted by: Vuyiswamb on: 7/5/2012 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Here is a Psudo code of what you need to do

Menu mymenu  = (Menu) this.MasterPage.FindControl("MyMenuName");

//then you can access any items in the menu

Thank you for posting at Dotnetfunda

Snvrk1985, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response