WebWindow Class
A Window used in ASP.NET Web Forms applications.
Namespace: DevExpress.ExpressApp.Web
Assembly: DevExpress.ExpressApp.Web.v25.1.dll
NuGet Package: DevExpress.ExpressApp.Web
#Declaration
#Related API Members
The following members return WebWindow objects:
#Remarks
The WebWindow is a subclass of Window used in ASP.NET Web Forms applications and is displayed using a Web Forms page. It adds useful features, such as:
- WebWindow.ControlsCreating to run code before page controls are created
- WebWindow.PagePreRender to customize controls before the page is rendered
- WebWindow.CurrentRequestPage to load custom user controls in a custom View Item
- Register… methods to add client scripts to the 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.