Click here to Skip to main content
11,922,026 members (56,050 online)
Rate this:
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 1:31am
Rohan Leuva 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.
Rohan Leuva 26-Jun-13 7:49am
what you are trying to do?what you want and where you want?
Khan JI 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.
Khan JI 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 26-Jun-13 7:51am
Hope that gona give you some idea...
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.

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

  Print Answers RSS
0 OriginalGriff 568
1 Dave Kreskowiak 285
2 Sergey Alexandrovich Kryukov 173
3 Richard MacCutchan 155
4 ppolymorphe 135
0 OriginalGriff 7,036
1 KrunalRohit 4,530
2 Sergey Alexandrovich Kryukov 3,286
3 George Jonsson 2,840
4 Suvendu Shekhar Giri 2,216

Advertise | Privacy | Mobile
Web03 | 2.8.151120.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