A master page can serve as a template for one or more web forms.master pages will make the job easier. You’ll only need to write the common pieces once - in the master page.Each ASPX web form only needs to define the content unique to itself, and this content will plug into specified areas of the master page layout.
How Master Pages Work:
Master pages actually consist of two pieces, the master page itself and one or more content pages.To add a master page to a web project, right-click your web project in the Solution Explorer window, select Add New Item, and select the Master Page item type from the Add New Item dialog.
A master page looks very similar to an ASPX file, except a master page will have a .master file extension instead of a .aspx extension, and uses an @ Master directive instead of an @ Page directive at the top. Master pages will define the , , , and
|
No responses found. Be the first to respond and make money from revenue sharing program.
|