MobilePage.MasterPageFile Property
.NET Framework 2.0
Note: This property is new in the .NET Framework version 2.0.
Assembly: System.Web.Mobile (in system.web.mobile.dll)
This property supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Gets or sets the file name of the master page. Master pages are not supported in ASP.NET mobile Web Forms pages.
Namespace: System.Web.UI.MobileControlsAssembly: System.Web.Mobile (in system.web.mobile.dll)
[BindableAttribute(false)] public: virtual property String^ MasterPageFile { String^ get () override sealed; void set (String^ value) override sealed; }
/** @property */ public final String get_MasterPageFile () /** @property */ public final void set_MasterPageFile (String value)
public override final function get MasterPageFile () : String public override final function set MasterPageFile (value : String)
Property Value
Returns a null reference (Nothing in Visual Basic).This member overrides Page.MasterPageFile to prevent master pages from being used. This is because master pages are not supported on ASP.NET mobile Web Forms pages. The MasterPageFile property is a server-side field and should not be modified.
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Community Additions
ADD
Show: