Page Methods
.NET Framework 3.0
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| AddOnPreRenderCompleteAsync |
Overloaded.
Registers beginning and ending event handler delegates for an asynchronous page.
|
| ApplyStyleSheetSkin |
Applies the style properties defined in the page style sheet to the control.
(inherited from
Control)
|
| CreateHtmlTextWriterFromType |
Creates a specified HtmlTextWriter object to render the page's content.
|
| DataBind |
Overloaded.
Binds a data source to the invoked server control and all its child controls.
(inherited from
Control)
|
| DesignerInitialize |
Performs any initialization of the instance of the Page class that is required by RAD designers. This method is used only at design time.
|
| Dispose |
Enables a server control to perform final clean up before it is released from memory.
(inherited from
Control)
|
| Equals |
Overloaded.
Determines whether two Object instances are equal.
(inherited from
Object)
|
| ExecuteRegisteredAsyncTasks |
Starts the execution of an asynchronous task.
|
| FindControl |
Overloaded.
Overridden.
Searches the page naming container for the specified server control.
|
| Focus |
Sets input focus to a control.
(inherited from
Control)
|
| GetDataItem |
Gets the data item at the top of the data-binding context stack.
|
| GetHashCode |
Serves as a hash function for a particular type.
(inherited from
Object)
|
| GetPostBackClientEvent |
Gets a reference that can be used in a client event to post back to the server for the specified control and with the specified event arguments.
|
| GetPostBackClientHyperlink |
Gets a reference, with javascript: appended to the beginning of it, that can be used in a client event to post back to the server for the specified control and with the specified event arguments.
|
| GetPostBackEventReference |
Overloaded.
Returns a string that can be used in a client event to cause postback to the server. This method has been deprecated. Use the GetPostBackEventReference method in the ClientScriptManager class instead.
|
| GetType |
Gets the Type of the current instance.
(inherited from
Object)
|
| GetTypeHashCode |
Retrieves a hash code that is generated by Page objects that are generated at run time. This hash code is unique to the Page object's control hierarchy.
|
| GetValidators |
Returns a collection of control validators for a specified validation group.
|
| HasControls |
Determines if the server control contains any child controls.
(inherited from
Control)
|
| IsClientScriptBlockRegistered |
Determines whether the client script block with the specified key is registered with the page.
|
| IsStartupScriptRegistered |
Determines whether the client startup script is registered with the Page object.
|
| LoadControl |
Overloaded.
Loads a Control.
(inherited from
TemplateControl)
|
| LoadTemplate |
Obtains an instance of the ITemplate interface from an external file.
(inherited from
TemplateControl)
|
| MapPath |
Retrieves the physical path that a virtual path, either absolute or relative, or an application-relative path maps to.
|
| ParseControl |
Parses an input string into a Control object on the Web Forms page or user control.
(inherited from
TemplateControl)
|
| ProcessRequest |
Sets the intrinsics of the Page, such as the Context, Request, Response, and Application properties.
|
| ReadStringResource |
Overloaded.
Reads a string resource.
(inherited from
TemplateControl)
|
| ReferenceEquals |
Determines whether the specified Object instances are the same instance.
(inherited from
Object)
|
| RegisterArrayDeclaration |
Declares a value that is declared as an ECMAScript array declaration when the page is rendered.
|
| RegisterAsyncTask |
Registers a new asynchronous task with the page.
|
| RegisterClientScriptBlock |
Emits client-side script blocks to the response.
|
| RegisterHiddenField |
Allows server controls to automatically register a hidden field on the form. The field will be sent to the Page object when the HtmlForm server control is rendered.
|
| RegisterOnSubmitStatement |
Allows a page to access the client OnSubmit event. The script should be a function call to client code registered elsewhere.
|
| RegisterRequiresControlState |
Registers a control as one whose control state must be persisted.
|
| RegisterRequiresPostBack |
Registers a control as one that requires postback handling when the page is posted back to the server.
|
| RegisterRequiresRaiseEvent |
Registers an ASP.NET server control as one requiring an event to be raised when the control is processed on the Page object.
|
| RegisterRequiresViewStateEncryption |
Registers a control with the page as one requiring view-state encryption.
|
| RegisterStartupScript |
Emits a client-side script block in the page response.
|
| RegisterViewStateHandler |
Causes page view state to be persisted, if called.
|
| RenderControl |
Overloaded.
Outputs server control content and stores tracing information about the control if tracing is enabled.
(inherited from
Control)
|
| RequiresControlState |
Determines whether the specified Control object is registered to participate in control state management.
|
| ResolveClientUrl |
Gets a URL that can be used by the browser.
(inherited from
Control)
|
| ResolveUrl |
Converts a URL into one that is usable on the requesting client.
(inherited from
Control)
|
| SetFocus |
Overloaded.
Sets the browser focus to the specified control.
|
| SetRenderMethodDelegate |
Assigns an event handler delegate to render the server control and its content into its parent control.
(inherited from
Control)
|
| TestDeviceFilter |
Returns a Boolean value indicating whether a device filter applies to the HTTP request.
(inherited from
TemplateControl)
|
| ToString |
Returns a String that represents the current Object.
(inherited from
Object)
|
| UnregisterRequiresControlState |
Stops persistence of control state for the specified control.
|
| Validate |
Overloaded.
Instructs any validation controls included on the page to validate their assigned information.
|
| VerifyRenderingInServerForm |
Confirms that an HtmlForm control is rendered for the specified ASP.NET server control at run time.
|
| Name | Description | |
|---|---|---|
| AddContentTemplate |
Called during page initialization to create a collection of content (from content controls) that is handed to a master page, if the current page or master page refers to a master page.
|
| AddedControl |
Called after a child control is added to the Controls collection of the Control object.
(inherited from
Control)
|
| AddParsedSubObject |
Notifies the server control that an element, either XML or HTML, was parsed, and adds the element to the server control's ControlCollection object.
(inherited from
Control)
|
| AddWrappedFileDependencies |
Adds a list of dependent files that make up the current page. This method is used internally by the ASP.NET page framework and is not intended to be used directly from your code.
|
| AspCompatBeginProcessRequest |
Initiates a request for Active Server Page (ASP) resources. This method is provided for compatibility with legacy ASP applications.
|
| AspCompatEndProcessRequest |
Terminates a request for Active Server Page (ASP) resources. This method is provided for compatibility with legacy ASP applications.
|
| AsyncPageBeginProcessRequest |
Begins processing an asynchronous page request.
|
| AsyncPageEndProcessRequest |
Ends processing an asynchronous page request.
|
| BuildProfileTree |
Gathers information about the server control and delivers it to the Trace property to be displayed when tracing is enabled for the page.
(inherited from
Control)
|
| ClearChildControlState |
Deletes the control-state information for the server control's child controls.
(inherited from
Control)
|
| ClearChildState |
Deletes the view-state and control-state information for all the server control's child controls.
(inherited from
Control)
|
| ClearChildViewState |
Deletes the view-state information for all the server control's child controls.
(inherited from
Control)
|
| Construct |
Performs design-time logic.
(inherited from
TemplateControl)
|
| CreateChildControls |
Called by the ASP.NET page framework to notify server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering.
(inherited from
Control)
|
| CreateControlCollection |
Creates a new ControlCollection object to hold the child controls (both literal and server) of the server control.
(inherited from
Control)
|
| CreateHtmlTextWriter |
Creates an HtmlTextWriter object to render the page's content.
|
| CreateResourceBasedLiteralControl |
Accesses literal strings stored in a resource. The CreateResourceBasedLiteralControl method is not intended for use from within your code.
(inherited from
TemplateControl)
|
| DataBind |
Overloaded.
Binds a data source to the invoked server control and all its child controls.
(inherited from
Control)
|
| DataBindChildren |
Binds a data source to the server control's child controls.
(inherited from
Control)
|
| DeterminePostBackMode |
Returns a NameValueCollection of data posted back to the page using either a POST or a GET command.
|
| EnsureChildControls |
Determines whether the server control contains child controls. If it does not, it creates child controls.
(inherited from
Control)
|
| EnsureID |
Creates an identifier for controls that do not have an identifier assigned.
(inherited from
Control)
|
| Eval |
Overloaded.
Provides support for parsing and evaluating a data-binding expression against an object at run time.
(inherited from
TemplateControl)
|
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(inherited from
Object)
|
| FindControl |
Overloaded.
Searches the current naming container for the specified server control.
(inherited from
Control)
|
| FrameworkInitialize |
Overridden.
Initializes the control tree during page generation based on the declarative nature of the page.
|
| GetDesignModeState |
Gets design-time data for a control.
(inherited from
Control)
|
| GetGlobalResourceObject |
Overloaded.
Gets an application-level resource.
(inherited from
TemplateControl)
|
| GetLocalResourceObject |
Overloaded.
Gets a page-level resource.
(inherited from
TemplateControl)
|
| GetWrappedFileDependencies |
Returns a list of physical file names that correspond to a list of virtual file locations.
|
| HasEvents |
Returns a value indicating whether events are registered for the control or any child controls.
(inherited from
Control)
|
| InitializeCulture | |
| InitOutputCache |
Overloaded.
Initializes the output cache for the current page request.
|
| IsLiteralContent |
Determines if the server control holds only literal content.
(inherited from
Control)
|
| LoadControlState |
Restores control-state information from a previous page request that was saved by the SaveControlState method.
(inherited from
Control)
|
| LoadPageStateFromPersistenceMedium |
Loads any saved view-state information to the Page object.
|
| LoadViewState |
Restores view-state information from a previous page request that was saved by the SaveViewState method.
(inherited from
Control)
|
| MapPathSecure |
Retrieves the physical path that a virtual path, either absolute or relative, maps to.
(inherited from
Control)
|
| MemberwiseClone |
Creates a shallow copy of the current Object.
(inherited from
Object)
|
| OnAbortTransaction |
Raises the AbortTransaction event.
(inherited from
TemplateControl)
|
| OnBubbleEvent |
Determines whether the event for the server control is passed up the page's UI server control hierarchy.
(inherited from
Control)
|
| OnCommitTransaction |
Raises the CommitTransaction event.
(inherited from
TemplateControl)
|
| OnDataBinding |
Raises the DataBinding event.
(inherited from
Control)
|
| OnError |
Raises the Error event.
(inherited from
TemplateControl)
|
| OnInit |
Overridden.
Raises the Init event to initialize the page.
|
| OnInitComplete |
Raises the InitComplete event after page initialization.
|
| OnLoad |
Raises the Load event.
(inherited from
Control)
|
| OnLoadComplete |
Raises the LoadComplete event at the end of the page load stage.
|
| OnPreInit |
Raises the PreInit event at the beginning of page initialization.
|
| OnPreLoad |
Raises the PreLoad event after postback data is loaded into the page server controls but before the OnLoad event.
|
| OnPreRender |
Raises the PreRender event.
(inherited from
Control)
|
| OnPreRenderComplete |
Raises the PreRenderComplete event after the OnPreRenderComplete event and before the page is rendered.
|
| OnSaveStateComplete |
Raises the SaveStateComplete event after the page state has been saved to the persistence medium.
|
| OnUnload |
Raises the Unload event.
(inherited from
Control)
|
| OpenFile |
Gets a Stream used to read a file.
(inherited from
Control)
|
| RaiseBubbleEvent |
Assigns any sources of the event and its information to the control's parent.
(inherited from
Control)
|
| RaisePostBackEvent |
Notifies the server control that caused the postback that it should handle an incoming postback event.
|
| RemovedControl |
Called after a child control is removed from the Controls collection of the Control object.
(inherited from
Control)
|
| Render |
Overridden.
Initializes the HtmlTextWriter object and calls on the child controls of the Page to render.
|
| RenderChildren |
Outputs the content of a server control's children to a provided HtmlTextWriter object, which writes the content to be rendered on the client.
(inherited from
Control)
|
| RenderControl |
Overloaded.
Outputs server control content and stores tracing information about the control if tracing is enabled.
(inherited from
Control)
|
| ResolveAdapter |
Gets the control adapter responsible for rendering the specified control.
(inherited from
Control)
|
| SaveControlState |
Saves any server control state changes that have occurred since the time the page was posted back to the server.
(inherited from
Control)
|
| SavePageStateToPersistenceMedium |
Saves any view-state and control-state information for the page.
|
| SaveViewState |
Saves any server control view-state changes that have occurred since the time the page was posted back to the server.
(inherited from
Control)
|
| SetDesignModeState |
Sets design-time data for a control.
(inherited from
Control)
|
| SetStringResourcePointer |
Sets a pointer to a string resource. The SetStringResourcePointer method is used by generated classes and is not intended for use from within your code.
(inherited from
TemplateControl)
|
| TrackViewState |
Causes tracking of view-state changes to the server control so they can be stored in the server control's StateBag object. This object is accessible through the Control.ViewState property.
(inherited from
Control)
|
| WriteUTF8ResourceString |
Writes a resource string to an HtmlTextWriter control. The WriteUTF8ResourceString method is used by generated classes and is not intended for use from within your code.
(inherited from
TemplateControl)
|
| XPath |
Overloaded.
Provides support for parsing and evaluating an XPath data-binding expression against an object at run time.
(inherited from
TemplateControl)
|
| XPathSelect |
Overloaded.
Provides run-time data binding against XML-based data and returns a node collection that implements the IEnumerable interface.
(inherited from
TemplateControl)
|
Community Additions
ADD
Show: