Create Master Pages example:
How can we crate master page in our application.master page is some different page from simple web page.we can inherits master page in simple web page but can not inherit some simple web page to master page.
Step1: Add New Item master page in your project.
Step 2: Source File look This type
Masterpage sample Design:
Now you Add to new item simple web page in your application enable master page select and Add new Default page.show following figure
How can we crate master page in our application.master page is some different page from simple web page.we can inherits master page in simple web page but can not inherit some simple web page to master page.
Step1: Add New Item master page in your project.
Step 2: Source File look This type
Masterpage sample Design:
Now you Add to new item simple web page in your application enable master page select and Add new Default page.show following figure
Now open window for select master page from it click ok.
Default.aspx( design page)
Source code:
Output:
0 comments:
Post a Comment