The requested page is not available for the requested platform. You are viewing the content for Default platform.

WebWindow Class

A Window used in ASP.NET Web applications.

Namespace: DevExpress.ExpressApp.Web

Assembly: DevExpress.ExpressApp.Web.v19.1.dll


public class WebWindow :
Public Class WebWindow
    Inherits Window


The WebWindow is a Window descendant used in ASP.NET Web 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 sessions. Each WebWindow adds SessionKeepAliveControl to its page. This control prevents an ASP.NET 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.


See Also