PopupWindow Members

A pop-up Window used in ASP.NET Web applications.

Fields

Name Description
DefaultClosingScript

Gets the script executed when the PopupWindow is closed.

LockParentPageControlsCreatedKey

For internal use.

MainWindowTrackerKeyFlag
(Inherited from WebWindow)
ObjectIdParamName

Specifies the name of the object parameter used in client-side scripts. Intended for internal use.

Properties

Name Description
Application

Provides access to a WebApplication object that can be used to manage the current application.

(Inherited from WebWindow)
ClosureScript

Specifies the JavaScript code used to close the pop-up Window.

Context

Returns a Frame's context.

(Inherited from Frame)
Controllers

Provides access to the Controller collection.

(Inherited from Frame)
CurrentRequestPage

Provides access to the page associated with the current HTTP request.

(Inherited from WebWindow)
CurrentRequestWindow

Provides access to the WebWindow associated with the current HTTP request.

(Inherited from WebWindow)
IsMain

Indicates whether a Window is main.

(Inherited from Window)
IsViewControllersActivation

Indicates whether Controllers are currently being activated.

(Inherited from Frame)
MainWindowTrackerKey
(Inherited from WebWindow)
RefreshParentWindowOnCloseButtonClick

For internal use.

ScrollControl

Provides access to the WebWindow's auxiliary scrolling control.

(Inherited from WebWindow)
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)
WindowHeight

Specifies the height of pop-up Windows invoked via the PopupWindowShowAction in ASP.NET Web applications.

WindowWidth

Specifies the width of pop-up Windows invoked via the PopupWindowShowAction in ASP.NET Web applications.

Methods

Name Description
ActivateControllers()

Activates Controllers for the current Window.

(Inherited from Window)
BreakLinksToControls()

Removes WebWindow references to its controls and their event handlers.

(Inherited from WebWindow)
CheckForRedirect()

Causes the browser to perform redirection to a different URL, if required.

(Inherited from WebWindow)
CheckForRedirect(Boolean)

Causes the browser to perform redirection to a different URL, if required.

(Inherited from WebWindow)
Close()

Closes a Window.

(Inherited from Window)
Close(Boolean)

Closes the PopupWindow and optionally refreshes its parent Window.

CreateControls(Page)

Creates controls for the specified Web Forms page.

(Inherited from WebWindow)
CreateControls(Page, Boolean)

Creates controls for the specified Web Forms page.

(Inherited from WebWindow)
CreateScrollControl(Page)

Creates an auxiliary scrolling control on the specified Web Forms page.

(Inherited from WebWindow)
CreateSessionKeepAliveControl(Page)

Creates the auxiliary control preventing an ASP.NET session from timing out, on the specified page.

(Inherited from WebWindow)
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) 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()

Obsolete. Provides access to the key information on the View associated with the current request.

(Inherited from WebWindow)
GetForm(Page)

Provides access to the HTML <form> element of the specified Web Forms page.

(Inherited from WebWindow)
GetHashCode() Serves as the default hash function.
(Inherited from Object)
GetIsPostBackForced(Page)

Obsolete. This method is intended for internal use.

GetType() Gets the of the current instance.
(Inherited from Object)
GetWindowHeight()

Returns the height of pop-up windows in the ASP.NET application with the classic web UI.

GetWindowWidth()

Returns the width of pop-up windows in the ASP.NET application with the classic web UI.

MemberwiseClone() Creates a shallow copy of the current .
(Inherited from Object)
ReferenceEquals(Object, Object) Determines whether the specified 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.

(Inherited from WebWindow)
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.

(Inherited from WebWindow)
RegisterClientScriptInclude(String, String)

Registers the client script include with the WebWindow's page using the specified key and script file name.

(Inherited from WebWindow)
RegisterClientScriptResource(Type, String)

Registers the client script resource with the WebWindow's page, using the specified resource name.

(Inherited from WebWindow)
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.

(Inherited from WebWindow)
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.

(Inherited from WebWindow)
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)

Sets the specified window as a current session.

(Inherited from WebWindow)
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, 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)
SetView(View, Frame)

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
Closed

Occurs after the current popup window is closed.

ControlsCreating

Occurs before creating controls for the WebWindow's Web Forms page.

(Inherited from WebWindow)
CustomRegisterTemplateDependentScripts

Occurs when ASP.NET Template's scripts are registered.

(Inherited from WebWindow)
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.

(Inherited from WebWindow)
ProcessActionContainer

Occurs when the Action Containers displayed in the current Frame are changed.

(Inherited from Frame)
ProcessPreRenderCompleted
(Inherited from WebWindow)
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