Add a master page, use <asp:ContentPlaceHolder> dig pits, the new master page has been automatically set up with two ContentPlaceHolder
Create a specific page that uses the master page, website "Choose a template Page" When you create a new Web form, WebApplication is a new Web content form
Then select page to use master page, one item can create multiple master pages
The specific pages that use the master and the normal ASPX pages are different:
@Page area uses MasterPageFile to specify that the master page is used, and the page does not contain
HTML and other content, only defines the content of these pits <asp:content >
The link address, picture address, and so on of the Runat=server control in the master page will be resolved to the address relative to the master page, suggesting
Using a server-side control, if it is not available, you can call Resolveclienturl,resolveurl in the ASPX page to convert the virtual path
Each specific page is set to a different title, as long as the title property is set in the @page of the page
Use Master.findcontrol to locate and manipulate controls on a master page in a specific page
Asp. The master page in net