Respcted Sir,
This is Murlai Krishna i need master page so please tell me how to create master page in asp.net with an example.
Thanks&Regards,
Murali Krishna
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Satyapriya NayakRank #47 · 31.5K reputationPosted Apr 3, 2013, 10:40 PM EDT
http://www.c-sharpcorner.com/UploadFile/abhikumarvatsa/creating-master-page-using-css-in-Asp-Net-part-12/
Murali Krishna30 reputationPosted Apr 3, 2013, 10:45 PM EDT
Vishal GilbileRank #268 · 9.4K reputationPosted Apr 3, 2013, 11:04 PM EDT
Just create a new website. If you are using VS2010 or greater you will find a default master page in your application. If you are using older version then you will have to create a master page. Well in VS 2010 or greater also we may not always make use of the default master page. Sometimes we need to create our own master page. Well the steps are
1. Right click on the root directory of your application from solution explorer.
2. Select Add New Item.
3. From the add new item dialog box select master Page
4. Finally provide a name to your master page.
5. Click ok.
you'll find that the master page is being added to your project with one ContentPlaceHolder in the head section and one in the body section. Now you can start designing your master page as per your requirement.
Hope that solves your problem.
With Regards,
Vishal Gilbile.