PopupWindow Members
A pop-up Window used in ASP.NET Web Forms applications.Constructors
| Name | Description |
|---|---|
| PopupWindow(XafApplication, TemplateContext, ICollection<Controller>) | Creates a new PopupWindow. |
Fields
| Name | Description |
|---|---|
| DefaultClosingScript | Gets the script executed when the PopupWindow is closed. |
| LockParentPageControlsCreatedKey | For internal use. |
| MainWindowTrackerKeyFlag static | Inherited from WebWindow. |
| NotifyControllerOfDisposing static | Inherited from Frame. |
| ObjectIdParamName | Specifies the name of the object parameter used in client-side scripts. Intended for internal use. |
| UseSoftViewChanging static | Inherited from Frame. |
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 static | Provides access to the page associated with the current HTTP request. Inherited from WebWindow. |
| CurrentRequestWindow static | 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. |
| Maximized | |
| RefreshParentWindowMode | Specifies whether and when a parent window of this pop-up window should be refreshed. |
| RefreshParentWindowOnCloseButtonClick | For internal use. |
| ScrollControl | Provides access to the WebWindow‘s auxiliary scrolling control. Inherited from WebWindow. |
| Size | |
| 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 static | Specifies the height of pop-up Windows invoked via the PopupWindowShowAction in ASP.NET Web Forms applications. |
| WindowWidth static | Specifies the width of pop-up Windows invoked via the PopupWindowShowAction in ASP.NET Web Forms 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() static | Causes the browser to perform redirection to a different URL, if required. Inherited from WebWindow. |
| CheckForRedirect(Boolean) static | 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, Boolean) | Creates controls for the specified Web Forms page. Inherited from WebWindow. |
| CreateControls(Page) | 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 Web Forms 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, 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. |
| GetForm(Page) static | 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. |
| GetType() | Gets the Type of the current instance. Inherited from Object. |
| GetWindowHeight() static | Returns the height of pop-up windows in the ASP.NET Web Forms application with the classic web UI. |
| GetWindowWidth() static | Returns the width of pop-up windows in the ASP.NET Web Forms application with the classic web UI. |
| 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. Inherited from WebWindow. |
| 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. |
| 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, 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. |
| 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. |
| 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. Inherited from WebWindow. |
| 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. |
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 Web Forms 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