C# Class System.Web.UI.Page

Inheritance: System.Web.UI.TemplateControl, System.Web.IHttpHandler
显示文件 Open project: vargaz/mono Class Usage Examples

Private Properties

Property Type Description
AddContentTemplate void
AddStyleSheets void
AddWrappedFileDependencies void
ApplyMasterPage void
AreValidatorsUplevel bool
AreValidatorsUplevel bool
AspCompatBeginProcessRequest IAsyncResult
AspCompatEndProcessRequest void
AsyncPageBeginProcessRequest IAsyncResult
AsyncPageEndProcessRequest void
BelongsToGroup bool
CreateHtmlTextWriter System.Web.UI.HtmlTextWriter
DesignerInitialize void
DeterminePostBackMode NameValueCollection
EndAsyncTaskCallback void
FindControl Control
GetCallbackTarget ICallbackEventHandler
GetFormatter IStateFormatter
GetPageCulture CultureInfo
GetPostBackClientEvent string
GetPostBackClientHyperlink string
GetPostBackEventReference string
GetPostBackEventReference string
GetSavedViewState string
GetSubmitStatements string
GetTypeHashCode int
GetWrappedFileDependencies object
InitOutputCache void
InitOutputCache void
InitOutputCache void
InitializeCulture void
InitializeStyleSheet void
InitializeTheme void
InternalProcessRequest void
IsClientScriptBlockRegistered bool
IsStartupScriptRegistered bool
LoadPageControlState void
LoadPageStateFromPersistenceMedium object
LoadPageViewState void
LoadPreviousPageReference void
OnFormPostRender void
OnFormRender void
PopDataItemContext void
ProcessCallbackData string
ProcessException void
ProcessGetCallbackResult string
ProcessLoad void
ProcessLoadComplete bool
ProcessPostData void
ProcessPostData void
ProcessRaiseCallbackEvent void
ProcessRaiseEvents void
ProcessRequest void
ProcessUnload void
PushDataItemContext void
RaiseChangedEvents void
RaisePostBackEvent void
RaisePostBackEvents void
RegisterArrayDeclaration void
RegisterClientScriptBlock void
RegisterClientScriptFile void
RegisterEnabledControl void
RegisterForm void
RegisterHiddenField void
RegisterOnSubmitStatement void
RegisterRequiresControlState void
RegisterRequiresPostBack void
RegisterRequiresRaiseEvent void
RegisterStartupScript void
RegisterViewStateHandler void
RenderClientScriptFormDeclaration void
RenderPage void
RenderPostBackScript void
RenderTrace void
RequiresFormScriptDeclaration void
RequiresPostBackScript void
RestorePageState void
SavePageControlState object
SavePageStateToPersistenceMedium void
SavePageViewState void
SetContext void
SetHeader void
UnregisterRequiresControlState void
ValidateCollection bool
VerifyRenderingInServerForm void

Public Methods

Method Description
AddOnPreRenderCompleteAsync ( BeginEventHandler beginHandler, EndEventHandler endHandler ) : void
AddOnPreRenderCompleteAsync ( BeginEventHandler beginHandler, EndEventHandler endHandler, Object state ) : void
CreateHtmlTextWriterFromType ( TextWriter tw, Type writerType ) : System.Web.UI.HtmlTextWriter
ExecuteRegisteredAsyncTasks ( ) : void
FindControl ( string id ) : Control
GetDataItem ( ) : object
GetValidators ( string validationGroup ) : System.Web.UI.ValidatorCollection
MapPath ( string virtualPath ) : string
Page ( ) : System
RegisterAsyncTask ( PageAsyncTask task ) : void
RegisterRequiresViewStateEncryption ( ) : void
RequiresControlState ( Control control ) : bool
SetFocus ( Control control ) : void
SetFocus ( string clientID ) : void
Validate ( ) : void
Validate ( string validationGroup ) : void

Protected Methods

Method Description
FrameworkInitialize ( ) : void
OnInit ( EventArgs e ) : void
OnInitComplete ( EventArgs e ) : void
OnLoadComplete ( EventArgs e ) : void
OnPreInit ( EventArgs e ) : void
OnPreLoad ( EventArgs e ) : void
OnPreRenderComplete ( EventArgs e ) : void
OnSaveStateComplete ( EventArgs e ) : void
Render ( HtmlTextWriter writer ) : void

Private Methods

Method Description
AddContentTemplate ( string templateName, ITemplate template ) : void
AddStyleSheets ( System.Web.UI.PageTheme theme, List &links ) : void
AddWrappedFileDependencies ( object virtualFileDependencies ) : void
ApplyMasterPage ( ) : void
AreValidatorsUplevel ( ) : bool
AreValidatorsUplevel ( string valGroup ) : bool
AspCompatBeginProcessRequest ( HttpContext context, AsyncCallback cb, object extraData ) : IAsyncResult
AspCompatEndProcessRequest ( IAsyncResult result ) : void
AsyncPageBeginProcessRequest ( HttpContext context, AsyncCallback callback, object extraData ) : IAsyncResult
AsyncPageEndProcessRequest ( IAsyncResult result ) : void
BelongsToGroup ( IValidator v, string validationGroup ) : bool
CreateHtmlTextWriter ( TextWriter tw ) : System.Web.UI.HtmlTextWriter
DesignerInitialize ( ) : void
DeterminePostBackMode ( ) : NameValueCollection
EndAsyncTaskCallback ( IAsyncResult result ) : void
FindControl ( string id, bool decode ) : Control
GetCallbackTarget ( ) : ICallbackEventHandler
GetFormatter ( ) : IStateFormatter
GetPageCulture ( string culture, CultureInfo deflt ) : CultureInfo
GetPostBackClientEvent ( Control control, string argument ) : string
GetPostBackClientHyperlink ( Control control, string argument ) : string
GetPostBackEventReference ( Control control ) : string
GetPostBackEventReference ( Control control, string argument ) : string
GetSavedViewState ( ) : string
GetSubmitStatements ( ) : string
GetTypeHashCode ( ) : int
GetWrappedFileDependencies ( string list ) : object
InitOutputCache ( System.Web.UI.OutputCacheParameters cacheSettings ) : void
InitOutputCache ( int duration, string varyByHeader, string varyByCustom, OutputCacheLocation location, string varyByParam ) : void
InitOutputCache ( int duration, string varyByContentEncoding, string varyByHeader, string varyByCustom, OutputCacheLocation location, string varyByParam ) : void
InitializeCulture ( ) : void
InitializeStyleSheet ( ) : void
InitializeTheme ( ) : void
InternalProcessRequest ( ) : void
IsClientScriptBlockRegistered ( string key ) : bool
IsStartupScriptRegistered ( string key ) : bool
LoadPageControlState ( object data ) : void
LoadPageStateFromPersistenceMedium ( ) : object
LoadPageViewState ( ) : void
LoadPreviousPageReference ( ) : void
OnFormPostRender ( System.Web.UI.HtmlTextWriter writer, string formUniqueID ) : void
OnFormRender ( System.Web.UI.HtmlTextWriter writer, string formUniqueID ) : void
PopDataItemContext ( ) : void
ProcessCallbackData ( ) : string
ProcessException ( Exception e ) : void
ProcessGetCallbackResult ( ICallbackEventHandler target, string callbackEventError ) : string
ProcessLoad ( ) : void
ProcessLoadComplete ( ) : bool
ProcessPostData ( ) : void
ProcessPostData ( NameValueCollection data, bool second ) : void
ProcessRaiseCallbackEvent ( ICallbackEventHandler target, string &callbackEventError ) : void
ProcessRaiseEvents ( ) : void
ProcessRequest ( HttpContext context ) : void
ProcessUnload ( ) : void
PushDataItemContext ( object o ) : void
RaiseChangedEvents ( ) : void
RaisePostBackEvent ( IPostBackEventHandler sourceControl, string eventArgument ) : void
RaisePostBackEvents ( ) : void
RegisterArrayDeclaration ( string arrayName, string arrayValue ) : void
RegisterClientScriptBlock ( string key, string script ) : void
RegisterClientScriptFile ( string a, string b, string c ) : void
RegisterEnabledControl ( Control control ) : void
RegisterForm ( HtmlForm form ) : void
RegisterHiddenField ( string hiddenFieldName, string hiddenFieldInitialValue ) : void
RegisterOnSubmitStatement ( string key, string script ) : void
RegisterRequiresControlState ( Control control ) : void
RegisterRequiresPostBack ( Control control ) : void
RegisterRequiresRaiseEvent ( IPostBackEventHandler control ) : void
RegisterStartupScript ( string key, string script ) : void
RegisterViewStateHandler ( ) : void
RenderClientScriptFormDeclaration ( HtmlTextWriter writer, string formUniqueID ) : void
RenderPage ( ) : void
RenderPostBackScript ( HtmlTextWriter writer, string formUniqueID ) : void
RenderTrace ( ) : void
RequiresFormScriptDeclaration ( ) : void
RequiresPostBackScript ( ) : void
RestorePageState ( ) : void
SavePageControlState ( ) : object
SavePageStateToPersistenceMedium ( object viewState ) : void
SavePageViewState ( ) : void
SetContext ( HttpContext context ) : void
SetHeader ( HtmlHead header ) : void
UnregisterRequiresControlState ( Control control ) : void
ValidateCollection ( ValidatorCollection validators ) : bool
VerifyRenderingInServerForm ( Control control ) : void

Method Details

AddOnPreRenderCompleteAsync() public method

public AddOnPreRenderCompleteAsync ( BeginEventHandler beginHandler, EndEventHandler endHandler ) : void
beginHandler BeginEventHandler
endHandler EndEventHandler
return void

AddOnPreRenderCompleteAsync() public method

public AddOnPreRenderCompleteAsync ( BeginEventHandler beginHandler, EndEventHandler endHandler, Object state ) : void
beginHandler BeginEventHandler
endHandler EndEventHandler
state Object
return void

CreateHtmlTextWriterFromType() public static method

public static CreateHtmlTextWriterFromType ( TextWriter tw, Type writerType ) : System.Web.UI.HtmlTextWriter
tw System.IO.TextWriter
writerType System.Type
return System.Web.UI.HtmlTextWriter

ExecuteRegisteredAsyncTasks() public method

public ExecuteRegisteredAsyncTasks ( ) : void
return void

FindControl() public method

public FindControl ( string id ) : Control
id string
return Control

FrameworkInitialize() protected method

protected FrameworkInitialize ( ) : void
return void

GetDataItem() public method

public GetDataItem ( ) : object
return object

GetValidators() public method

public GetValidators ( string validationGroup ) : System.Web.UI.ValidatorCollection
validationGroup string
return System.Web.UI.ValidatorCollection

MapPath() public method

public MapPath ( string virtualPath ) : string
virtualPath string
return string

OnInit() protected method

protected OnInit ( EventArgs e ) : void
e System.EventArgs
return void

OnInitComplete() protected method

protected OnInitComplete ( EventArgs e ) : void
e System.EventArgs
return void

OnLoadComplete() protected method

protected OnLoadComplete ( EventArgs e ) : void
e System.EventArgs
return void

OnPreInit() protected method

protected OnPreInit ( EventArgs e ) : void
e System.EventArgs
return void

OnPreLoad() protected method

protected OnPreLoad ( EventArgs e ) : void
e System.EventArgs
return void

OnPreRenderComplete() protected method

protected OnPreRenderComplete ( EventArgs e ) : void
e System.EventArgs
return void

OnSaveStateComplete() protected method

protected OnSaveStateComplete ( EventArgs e ) : void
e System.EventArgs
return void

Page() public method

public Page ( ) : System
return System

RegisterAsyncTask() public method

public RegisterAsyncTask ( PageAsyncTask task ) : void
task PageAsyncTask
return void

RegisterRequiresViewStateEncryption() public method

public RegisterRequiresViewStateEncryption ( ) : void
return void

Render() protected method

protected Render ( HtmlTextWriter writer ) : void
writer HtmlTextWriter
return void

RequiresControlState() public method

public RequiresControlState ( Control control ) : bool
control Control
return bool

SetFocus() public method

public SetFocus ( Control control ) : void
control Control
return void

SetFocus() public method

public SetFocus ( string clientID ) : void
clientID string
return void

Validate() public method

public Validate ( ) : void
return void

Validate() public method

public Validate ( string validationGroup ) : void
validationGroup string
return void