Click here to Skip to main content
11,706,639 members (36,284 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: ASP.NET

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.

Posted 26-Jun-13 0:31am
Rohan Leuva at 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 at 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.
Rohan Leuva at 26-Jun-13 7:49am
what you are trying to do?what you want and where you want?
Khan JI at 26-Jun-13 6:53am
Or you can use the UserControls rather than Master Pages....
Kumar from madras at 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.
Khan JI at 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.
Khan JI at 26-Jun-13 7:51am
Hope that gona give you some idea...
Mahesh Bailwal at 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.

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

  Print Answers RSS
0 OriginalGriff 202
1 Sergey Alexandrovich Kryukov 135
2 chainerlt 110
3 Mika Wendelius 80
4 ppolymorphe 71
0 OriginalGriff 9,190
1 Sergey Alexandrovich Kryukov 8,407
2 CPallini 5,189
3 Maciej Los 4,756
4 Mika Wendelius 3,686

Advertise | Privacy | Mobile
Web01 | 2.8.150819.1 | Last Updated 26 Jun 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100