masterpage in asp.net
How to use a master page in asp.net...
Please send me an example..
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Posted Oct 20, 2009, 9:34 AM
To use master page first you have to select add new page then select master page.
Then design the whole page and in last place theconetent place holder and the u can add just page and in page dialog box select master page and just you have to check the master page which you have designed and you ll get the whole design and you can add your page details therer
Thak you.:)
Mihir soni
vidyaPosted Oct 12, 2009, 3:07 AM
Masterpages are used to create a consistent look for web pages.
1. Create a website.
2. click on Add new item from solution explorer or from website menu. from the dialog box select master page and click on add.
3.Design you master page. (you can add image, treeview etc) Note that the content place holder section is empty.
4.After design you can add your master page to a web form.
5. Take Website menu->add new item. from the dialog box select webform and on the bottom part , select master page check box and add
6. From the next dialog select your master page and add.
7. A new webform with master page will be added to your website.
8. You can use only the content place holder part. here you can design your web page (inside the content place holder. only that part is active now!)