WebWindow Class
A Window used in ASP.NET Web Forms applications.
Namespace: DevExpress.ExpressApp.Web
Assembly: DevExpress.ExpressApp.Web.v22.1.dll
Declaration
Related API Members
The following members return WebWindow objects:
Remarks
The WebWindow is a Window descendant used in ASP.NET Web Forms applications. As such, it is visualized by a Web Forms page. Compared to the base Window class, WebWindow introduces certain useful members. The WebWindow.ControlsCreating event allows you to perform specific actions before the Window’s page controls are created. The WebWindow.PagePreRender event can be used to customize the page’s controls before the page is rendered. The WebWindow.CurrentRequestPage property can be used when implementing a custom View Item to load a custom user control from a specified path. There are also several Register… methods that allow you to register various client scripts for the Window’s page.
XAF applications automatically prolong ASP.NET Web Forms sessions. Each WebWindow adds SessionKeepAliveControl to its page. This control prevents an ASP.NET Web Forms session from expiring by periodically calling the SessionKeepAliveReconnect JavaScript function sending the request to the SessionKeepAliveReconnectHttpHandler HTTP Handler. This handler does not have any associated data and does not process anything. Its only purpose is to prevent sessions from expiring.
The WebWindow has a special descendant used when displaying pop-up Windows - the PopupWindow.
For general information on Windows, refer to the Window class description and Windows and Frames help topic.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the WebWindow class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.