Skip to main content
.NET Framework 4.6.2+
  • The page you are viewing does not exist in the .NET 8.0+ platform documentation. This link will take you to the parent topic of the current section.

WebWindow Methods

A Window used in ASP.NET Web Forms applications.
Name Description
ActivateControllers() Activates Controllers for the current Window. Inherited from Window.
BreakLinksToControls() Removes WebWindow references to its controls and their event handlers.
CheckForRedirect() static Causes the browser to perform redirection to a different URL, if required.
CheckForRedirect(Boolean) static Causes the browser to perform redirection to a different URL, if required.
Close() Closes a Window. Inherited from Window.
Close(Boolean) Closes the WebWindow.
CreateControls(Page, Boolean) Creates controls for the specified Web Forms page.
CreateControls(Page) Creates controls for the specified Web Forms page.
CreateScrollControl(Page) Creates an auxiliary scrolling control on the specified Web Forms page.
CreateSessionKeepAliveControl(Page) Creates the auxiliary control preventing an ASP.NET Web Forms session from timing out, on the specified page.
CreateTemplate() For internal use only. Inherited from Frame.
Dispose() Releases all resources used by this Frame object. Inherited from Frame.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetController<ControllerType>() Returns a specified Controller from the current Frame‘s Frame.Controllers collection. Inherited from Frame.
GetControllers(Type) For internal use. Inherited from Frame.
GetCurrentRequestShortcut() static Obsolete. Provides access to the key information on the View associated with the current request.
GetForm(Page) static Provides access to the HTML <form> element of the specified Web Forms page.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RegisterClientScript(String, String, Boolean) Registers the client script with the WebWindow‘s page, using the specified script name and script literal, and adds script tags. Optionally overrides existing script literals.
RegisterClientScript(String, String) Registers the client script with the WebWindow‘s page, using the specified script name and script literal, and adds script tags.
RegisterClientScriptInclude(String, String) Registers the client script include with the WebWindow‘s page using the specified key and script file name.
RegisterClientScriptResource(Type, String) Registers the client script resource with the WebWindow‘s page, using the specified resource name.
RegisterController(Controller) Registers a specified Controller within a Frame‘s Frame.Controllers collection. Inherited from Frame.
RegisterStartupScript(String, String, Boolean) Registers the startup script with the WebWindow‘s page, using the specified script name and script literal, and adds script tags. Optionally, overrides existing script literals.
RegisterStartupScript(String, String) Registers the startup script with the WebWindow‘s page, using the specified script name and script literal, and adds script tags.
SaveModel() Writes information on a Frame‘s View and Template to the Application Model. Inherited from Frame.
SetControllersActive(String, Boolean) Activates or deactivates the current Frame‘s Controllers for a specified reason. Inherited from Frame.
SetCurrentRequestWindow(WebWindow) static Sets the specified window as a current session.
SetTemplate(IFrameTemplate) Sets a specified Template for the current Frame. Inherited from Frame.
SetView(View, Frame) Sets a specified View for the current Frame. Inherited from Frame.
SetView(View, Boolean, Frame, Boolean) Sets a specified View for the current Frame. Inherited from Frame.
SetView(View, Boolean, Frame) Sets a specified View for the current Frame. Inherited from Frame.
SetView(View) Sets a specified View for the current Frame. Inherited from Frame.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also