asp.net.ph

Page Class

System.Web.UI Namespace


Represents an .aspx file requested from a server that hosts an ASP.NET Web application.

Page Class Members

Collapse   Constructors

Visibility Constructor Parameters
public Page ( )

Collapse   Fields

Visibility Name Type
public static const postEventArgumentID String
public static const postEventSourceID String

Collapse   Properties

Visibility Name Value Type Accessibility
public Application HttpApplicationState [ Get ]
public AsyncTimeout TimeSpan [ Get , Set ]
public AutoPostBackControl Control [ Get , Set ]
public Buffer Boolean [ Get , Set ]
public Cache Cache [ Get ]
public ClientQueryString String [ Get ]
public ClientScript ClientScriptManager [ Get ]
public ClientTarget String [ Get , Set ]
public CodePage Int32 [ Get , Set ]
public ContentType String [ Get , Set ]
public Culture String [ Get , Set ]
public EnableEventValidation Boolean [ Get , Set ]
public EnableViewState Boolean [ Get , Set ]
public EnableViewStateMac Boolean [ Get , Set ]
public ErrorPage String [ Get , Set ]
public Form HtmlForm [ Get ]
public Header HtmlHead [ Get ]
public ID String [ Get , Set ]
public IdSeparator Char [ Get ]
public IsAsync Boolean [ Get ]
public IsCallback Boolean [ Get ]
public IsCrossPagePostBack Boolean [ Get ]
public IsPostBack Boolean [ Get ]
public IsPostBackEventControlRegistered Boolean [ Get ]
public IsReusable Boolean [ Get ]
public IsValid Boolean [ Get ]
public Items IDictionary [ Get ]
public LCID Int32 [ Get , Set ]
public MaintainScrollPositionOnPostBack Boolean [ Get , Set ]
public Master MasterPage [ Get ]
public MasterPageFile String [ Get , Set ]
public MaxPageStateFieldLength Int32 [ Get , Set ]
public MetaDescription String [ Get , Set ]
public MetaKeywords String [ Get , Set ]
public ModelBindingExecutionContext ModelBindingExecutionContext [ Get ]
public ModelState ModelStateDictionary [ Get ]
public PageAdapter PageAdapter [ Get ]
public PreviousPage Page [ Get ]
public Request HttpRequest [ Get ]
public Response HttpResponse [ Get ]
public ResponseEncoding String [ Get , Set ]
public RouteData RouteData [ Get ]
public Server HttpServerUtility [ Get ]
public Session HttpSessionState [ Get ]
public SkipFormActionValidation Boolean [ Get , Set ]
public SmartNavigation Boolean [ Get , Set ]
public StyleSheetTheme String [ Get , Set ]
public Theme String [ Get , Set ]
public Title String [ Get , Set ]
public Trace TraceContext [ Get ]
public TraceEnabled Boolean [ Get , Set ]
public TraceModeValue TraceMode [ Get , Set ]
public UICulture String [ Get , Set ]
public UnobtrusiveValidationMode UnobtrusiveValidationMode [ Get , Set ]
public User IPrincipal [ Get ]
public ValidateRequestMode ValidateRequestMode [ Get , Set ]
public Validators ValidatorCollection [ Get ]
public ViewStateEncryptionMode ViewStateEncryptionMode [ Get , Set ]
public ViewStateUserKey String [ Get , Set ]
public Visible Boolean [ Get , Set ]

Collapse   Methods

Visibility Name Parameters Return Type
public AddOnPreRenderCompleteAsync ( BeginEventHandler beginHandler , EndEventHandler endHandler ) Void
public AddOnPreRenderCompleteAsync ( BeginEventHandler beginHandler , EndEventHandler endHandler , Object state ) Void
protected AspCompatBeginProcessRequest ( HttpContext context , AsyncCallback cb , Object extraData ) IAsyncResult
protected AspCompatEndProcessRequest ( IAsyncResult result ) Void
protected AsyncPageBeginProcessRequest ( HttpContext context , AsyncCallback callback , Object extraData ) IAsyncResult
protected AsyncPageEndProcessRequest ( IAsyncResult result ) Void
public static CreateHtmlTextWriterFromType ( TextWriter tw , Type writerType ) HtmlTextWriter
public DesignerInitialize ( ) Void
public ExecuteRegisteredAsyncTasks ( ) Void
public FindControl ( String id ) Control
protected FrameworkInitialize ( ) Void
public GetDataItem ( ) Object
public GetPostBackClientEvent ( Control control , String argument ) String
public GetPostBackClientHyperlink ( Control control , String argument ) String
public GetPostBackEventReference ( Control control ) String
public GetPostBackEventReference ( Control control , String argument ) String
public GetTypeHashCode ( ) Int32
public GetValidators ( String validationGroup ) ValidatorCollection
protected GetWrappedFileDependencies ( String virtualFileDependencies ) Object
protected InitializeCulture ( ) Void
protected InitOutputCache ( Int32 duration , String varyByContentEncoding , String varyByHeader , String varyByCustom , OutputCacheLocation location , String varyByParam ) Void
protected InitOutputCache ( Int32 duration , String varyByHeader , String varyByCustom , OutputCacheLocation location , String varyByParam ) Void
public IsClientScriptBlockRegistered ( String key ) Boolean
public IsStartupScriptRegistered ( String key ) Boolean
public MapPath ( String virtualPath ) String
protected OnInitComplete ( EventArgs e ) Void
protected OnLoadComplete ( EventArgs e ) Void
protected OnPreInit ( EventArgs e ) Void
protected OnPreLoad ( EventArgs e ) Void
protected OnPreRenderComplete ( EventArgs e ) Void
protected OnSaveStateComplete ( EventArgs e ) Void
public ProcessRequest ( HttpContext context ) Void
protected RaisePostBackEvent ( IPostBackEventHandler sourceControl , String eventArgument ) Void
public RegisterArrayDeclaration ( String arrayName , String arrayValue ) Void
public RegisterAsyncTask ( PageAsyncTask task ) Void
public RegisterClientScriptBlock ( String key , String script ) Void
public RegisterHiddenField ( String hiddenFieldName , String hiddenFieldInitialValue ) Void
public RegisterOnSubmitStatement ( String key , String script ) Void
public RegisterRequiresControlState ( Control control ) Void
public RegisterRequiresPostBack ( Control control ) Void
public RegisterRequiresRaiseEvent ( IPostBackEventHandler control ) Void
public RegisterRequiresViewStateEncryption ( ) Void
public RegisterStartupScript ( String key , String script ) Void
public RegisterViewStateHandler ( ) Void
public RequiresControlState ( Control control ) Boolean
public SetFocus ( Control control ) Void
public SetFocus ( String clientID ) Void
public TryUpdateModel ( TModel model , IValueProvider valueProvider ) Boolean
public TryUpdateModel ( TModel model ) Boolean
public UnregisterRequiresControlState ( Control control ) Void
public UpdateModel ( TModel model , IValueProvider valueProvider ) Void
public UpdateModel ( TModel model ) Void
public Validate ( ) Void
public Validate ( String validationGroup ) Void
public VerifyRenderingInServerForm ( Control control ) Void

Collapse   Events

Remarks

The Page class serves as the base class that defines the properties, methods, and events common to all ASP.NET files that have an .aspx extension. These files are compiled at run time as Page objects and cached in server memory, which are then used to satisfy subsequent requests to the pages.

The Page object serves as the naming container for all server controls in a page, except those that implement the INamingContainer interface, or are children of controls that implement this interface.

When developing a Web Forms page using the code-behind technique, derive from this class. Rapid application development ( RAD ) designers, such as Visual Studio .NET, automatically use this model to create Web Forms pages.

See Also

Web Forms Page Processing Stages Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 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 asp.net.ph