WebWindow Class
A Window used in ASP.NET Web Forms applications.
Namespace: DevExpress.ExpressApp.Web
Assembly: DevExpress.ExpressApp.Web.v24.1.dll
NuGet Package: DevExpress.ExpressApp.Web
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.