.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
.NET Core 3.0+
The page you are viewing does not exist in the .NET Core 3.0+ platform documentation. This link will take you to the parent topic of the current section.

WebWindow Members

A Window used in ASP.NET Web applications.

Constructors

Name Description
WebWindow(XafApplication, TemplateContext, ICollection<Controller>, Boolean, Boolean) Creates an instance of the WebWindow class.

Fields

Name Description
MainWindowTrackerKeyFlag

Properties

Name Description
Application Provides access to a WebApplication object that can be used to manage the current application.
Context Returns a Frame's context.
(Inherited from Frame)
Controllers Provides access to the Controller collection.
(Inherited from Frame)
CurrentRequestPage static Provides access to the page associated with the current HTTP request.
CurrentRequestWindow static Provides access to the WebWindow associated with the current HTTP request.
IsMain Indicates whether a Window is main.
(Inherited from Window)
IsViewControllersActivation Indicates whether Controllers are currently being activated.
(Inherited from Frame)
MainWindowTrackerKey
ScrollControl Provides access to the WebWindow's auxiliary scrolling control.
Tag Provides access to the object that contains data about the Frame.
(Inherited from Frame)
Template Returns a Window's Template.
(Inherited from Window)
View Provides access to a Frame's View.
(Inherited from Frame)

Methods

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) Creates controls for the specified Web Forms page.
CreateControls(Page, Boolean) 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 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) Determines whether the specified object is equal to the current object.
(Inherited from Object)
Equals(Object, Object) static Determines whether the specified object instances are considered equal.
(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) Registers the client script with the WebWindow's page, using the specified script name and script literal, and adds script tags.
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.
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) Registers the startup script with the WebWindow's page, using the specified script name and script literal, and adds script tags.
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.
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) Sets a specified View 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) 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)
ToString() Returns a string that represents the current object.
(Inherited from Object)

Events

Name Description
ControlsCreating Occurs before creating controls for the WebWindow's Web Forms page.
CustomRegisterTemplateDependentScripts Occurs when ASP.NET Template's scripts are registered.
Disposed Occures after the current Frame has been disposed of.
(Inherited from Frame)
Disposing Occurs when the current Frame is disposed of.
(Inherited from Frame)
PagePreRender Occurs after the WebWindow's Web Forms page is loaded, but prior to rendering.
ProcessActionContainer Occurs when the Action Containers displayed in the current Frame are changed.
(Inherited from Frame)
ProcessPreRenderCompleted
TemplateChanged Occurs after setting a Template for a Frame.
(Inherited from Frame)
TemplateChanging Occurs before a Template is set for a Frame.
(Inherited from Frame)
TemplateModelSaving Occurs before synchronizing information on a Frame's Template.
(Inherited from Frame)
TemplateViewChanged Occurs after a template is changed and a View is set for it.
(Inherited from Frame)
ViewChanged Occurs after setting a View for a Frame.
(Inherited from Frame)
ViewChanging Occurs before setting a View for a Frame.
(Inherited from Frame)
ViewControllersActivated Occurs after Controllers have been activated for the current Frame.
(Inherited from Frame)
ViewModelSaving Occurs before synchronizing information on a Frame's View.
(Inherited from Frame)
See Also