Click here to Skip to main content
15,896,201 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i m using visual studio 2012. i m using masterpages, if i want to display a header buttons like home,company profile, clicents, aboutus ect in all my web pages, what should i do?, is there any chance programmatically or dynamically, or any way

please tell me sir
Posted

For such things, ASP.NET has the feature called "master page". Please see: http://msdn.microsoft.com/en-us/library/wtxbf3hh.ASPX[^].

But also don't forget that ASP.NET allows you to generate any content and send it to the client side in HTTP response. Once you develop such code, you can reuse it for any number of pages. That idea would provide the most general solution to the problem of the reuse of some page fragment.

—SA
 
Share this answer
 
Hi,

You could find this link[^] helpful.
And this[^] as reference.
Hope this helps you a bit.

Regards,
RK
 
Share this answer
 
v2
Hi,
you can use the master page in your application or you can create a user control and register on your page for this or you can use asp: menu control from .Net controls.

Menu control :

http://www.dotnetcode.in/2011/06/creating-aspnet-menu-control-using-css.html[^]


User control :

http://msdn.microsoft.com/en-us/library/sbz9etab.aspx[^]
 
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