Click here to Skip to main content
15,914,016 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Member,

I am new to web development,

I am developing a website using Asp.net,HTML,CSS.

I have taken one master page. There in Menu bar I have 10 buttons. On button click I want to show the contents in Content placeholder section.

I do not want to take multiple pages for 10 buttons. I want to use One Master and one Home Page (start up).

I want to set the content (which will be HTML content fetching from database) dynamically in Home page content placeholder area based on the button click on menu bar.

Please share your ideas.

Please ask me, if its not clear what I want to ask.


Thanks,
Praveen
Posted
Comments
ZurdoDev 27-Sep-13 7:48am    
What's the question? Yes, use a master page.

1 solution

The ASP.NET Menu control allows you to develop both statically and dynamically displayed menus for your ASP.NET Web pages.
You can configure the contents of the Menu control directly in the control, or you can specify the contents by binding the control to a data source.
Without writing any code, you can control the appearance, orientation, and content of an ASP.NET Menu control.
In addition to the visual properties exposed by the control, the control supports ASP.NET control skins and themes.

For more info check this :

http://msdn.microsoft.com/en-us/library/ecs0x9w5(v=vs.80).aspx[^]

http://asp-net-example.blogspot.com/2008/10/menu-example-how-to-use-menu-control-in.html[^]

I hope this will help to you.
 
Share this answer
 

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