When you create a new mobile page in Visual Studio .NET, a new class
will be derived from MobilePage. Any code you add
to handle control events will be placed inside this class.
public class MobilePage : System.Web.UI.Page {
// Public Constructors
public
MobilePage ( );
// Public Static Fields
public static readonly string
HiddenPostEventArgumentId ; // =_ _EVENTARGUMENT
public static readonly string
HiddenPostEventSourceId ; // =_ _EVENTTARGET
public static readonly string
HiddenVariablePrefix ; // =_ _V_
public static readonly string
PageClientViewStateKey ; // =_ _P
public static readonly string
ViewStateID ; // =_ _VIEWSTATE
// Public Instance Properties
public string
AbsoluteFilePath {get; }
public Form
ActiveForm {set; get; }
public IPageAdapter
Adapter {get; }
public bool
AllowCustomAttributes {set; get; }
public string
ClientViewState {get; }
public bool
DesignMode {get; }
public virtual MobileCapabilities
Device {get; }
public IList
Forms {get; }
public IDictionary
HiddenVariables {get; }
public string
QueryStringText {get; }
public string
RelativeFilePath {get; }
public StyleSheet
StyleSheet {set; get; }
public string
UniqueFilePathSuffix {get; }
// Public Instance Methods
public virtual IControlAdapter
GetControlAdapter (MobileControl
control );
public Form
GetForm (string
id );
public object
GetPrivateViewState (MobileControl
ctl );
public bool
HasHiddenVariables ( );
public string
MakePathAbsolute (string
virtualPath );
public void
RedirectToMobilePage (string
url );
public void
RedirectToMobilePage (string
url , bool
endResponse );
public override void
Validate ( ); // overrides System.Web.UI.Page
public override void
VerifyRenderingInServerForm (System.Web.UI.Control
control ); // overrides System.Web.UI.Page
// Protected Instance Methods
protected override void
AddedControl (System.Web.UI.Control
control , int
index ); //overrides System.Web.UI.Control
protected override void
AddParsedSubObject (object
o ); // overrides System.Web.UI.Control
protected override HtmlTextWriter
CreateHtmlTextWriter (System.IO.TextWriter
writer ); // overrides System.Web.UI.Page
protected override NameValueCollection
DeterminePostBackMode ( ); // overrides System.Web.UI.Page
protected override void
InitOutputCache (int
duration , string
varyByHeader , string
varyByCustom ,
System.Web.UI.OutputCacheLocation
location , string
varyByParam ); // overrides System.Web.UI.Page
protected override object
LoadPageStateFromPersistenceMedium ( );// overrides System.Web.UI.Page
protected override void
LoadViewState (object
savedState ); // overrides System.Web.UI.Control
protected virtual void
OnDeviceCustomize (EventArgs
e );
protected override void
OnError (EventArgs
e ); // overrides System.Web.UI.TemplateControl
protected override void
OnInit (EventArgs
e ); // overrides System.Web.UI.Control
protected override void
OnLoad (EventArgs
e ); // overrides System.Web.UI.Control
protected override void
OnPreRender (EventArgs
e ); // overrides System.Web.UI.Control
protected override void
OnUnload (EventArgs
e ); // overrides System.Web.UI.Control
protected virtual void
OnViewStateExpire (EventArgs
e );
protected override void
RaisePostBackEvent (System.Web.UI.IPostBackEventHandler
sourceControl ,
string
eventArgument ); // overrides System.Web.UI.Page
protected override void
RemovedControl (System.Web.UI.Control
control );// overrides System.Web.UI.Control
protected override void
Render (System.Web.UI.HtmlTextWriter
writer );// overrides System.Web.UI.Control
protected override void
SavePageStateToPersistenceMedium (object
view );// overrides System.Web.UI.Page
protected override object
SaveViewState ( ); // overrides System.Web.UI.Control
}