Click here to Skip to main content
14,695,085 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI EXPERTS

I am creating one application using master page. I want the menu to be displayed dynamically. How can i achieve this using Content page.

Thanks in advance for your help.

Rgds
Jagadesh
Posted
Comments
Thanks7872 26-Jun-13 6:44am
   
Master page is for the similar layout.If you have 4 things on your page,in which 3 things remain constant at everytime,then put them in masterpage,so the remaining 1 will be in content page.Now,for your question if the menu is dynamic then put them in content page with placeholder perticular for that menu.
Kumar from madras 26-Jun-13 7:22am
   
Hi Rohan
Thanks for your reply.
I can bring the data from database. Through Content page menu has to be displayed in master page.
Thanks7872 26-Jun-13 7:49am
   
what you are trying to do?what you want and where you want?
VICK 26-Jun-13 6:53am
   
Or you can use the UserControls rather than Master Pages....
Kumar from madras 26-Jun-13 7:20am
   
Hi Khan

Thanks for your Reply
I done the dynamic menu loading on Normal ASPX page. I want to done this on Master Page.
Any Help.
VICK 26-Jun-13 7:49am
   
Hi Kumar.. So you wana alter some of the Master page content from its Childpage on runtime basis?? i.e dynamically.
VICK 26-Jun-13 7:51am
   
Hope that gona give you some idea...

http://www.codeproject.com/Articles/333650/Beginner-s-Tutorial-on-Master-Pages-in-ASP-NET

http://stackoverflow.com/questions/15986601/changing-menu-content-of-master-page-from-child-page-in-asp-net

http://stackoverflow.com/questions/3024611/change-panel-visible-property-on-masterpage-from-child-pages
Mahesh Bailwal 26-Jun-13 7:52am
   
You can create PlaceHolder in MasterPage and then you can load dynamic menu from Content Page in that PlaceHolder.

Below link on Master Page will help you.
http://msdn.microsoft.com/en-us/library/c8y19k6h(v=vs.100).aspx

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900