| Attribute |
Description |
| AutoEventWireup |
Specifies whether the master page's events are bound to methods with a particular name. The default is true. |
| ClassName |
Specifies the name for the class created to render the master page. This value can be any valid class name but shouldn't include a namespace. |
| CompilerOptions |
Specifies a sequence of compiler command-line switches used to compile the master class. The target compiler depends on the language of choice. |
| Debug |
Specifies whether to compile the master page with debug symbols. If true, the master source code won't be deleted and can be retrieved under the temporary ASP.NET files folder. |
| Description |
Provides a text description of the master page. |
| EnableViewState |
Specifies whether view state for the controls in the master page is maintained across page requests. The default is true. |
| EnableTheming |
Specifies whether themes for the controls in the master page are enabled. The default is true. |
| Explicit |
Specifies whether the master page will be compiled using VB.NET's Option Explicit mode. Other languages ignore this attribute. The default is false. |
| Inherits |
Specifies a code-behind class for the master page to inherit. This can be any class derived from MasterPage. |
| Language |
Specifies the master page language. |
| MasterPageFile |
Specifies the name of the master page file that this master refers to. A master can refer to another master using the same mechanisms a page uses to attach to a master. You will have nested masters if you set this attribute. |
| Strict |
Specifies whether the master page will be compiled using VB.NET's Option Strict mode. Other languages ignore this attribute. The default is false. |
| Src |
Specifies the code-behind class's source filename to compile dynamically when the master page is requested. |
| WarningLevel |
Specifies the compiler warning level at which the compiler will abort master page compilation. |