| |||||||||||||||||||
Page.MasterPageFile PropertySystem.Web.UI Namespace Page Class .NET Framework version 2.0 Sets or retrieves the file name of the master page. Syntax
Property Value
The property is read/write with no default value. Exceptions
RemarksThe MasterPageFile property is the name of the master page file associated with a content page. The MasterPageFile property can be set declaratively using the @ Page directive.
The MasterPageFile property can be set programmatically only in the PreInit event. Attempting to set the MasterPageFile property after the PreInit event will throw an InvalidOperationException exception.
See Also |
| ||||||||||||||||||
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme