Progarmming in ASP - NET Theory Assignment
Progarmming in ASP - NET Theory Assignment
A master page is an ASP.NET file with the extension .master with a predefined layout that can include
static text, HTML elements, and server controls.
They are similar to ordinary ASP.NET pages except that hey can’t be viewed directly through the
browser. They are instead used by other pages known as content pages.
Step 1:
Step2;
Step3;
Step4;
Click on the name of the project and go to add, then select new item
Step5;
Step6;
Click on the name of the master page you just added on the solution explorer on the right side.
Step7;
Step8;
Now to add a web form to our project, click on the name of the project and select add>new item
Step9;
After clicking on that, add the button Window, open the selected masterpage->site1.master and click
OK.
Step11;
Now design your home page and it will take the master page’s design.