Free Trial Buy Now

Popup Window - Client-Side Functionality

Update

Description

This sample demonstrates the capabilities of our client-side technology. Client-side programmatic interface is available if the EnableClientSideAPI property is set to true, or if there is a handler assigned to any client-side event. Once set, an individual client control object can be referenced directly by its Name.

In this demo, each popup window is identified using its Name property. In order to obtain a specific popup window by its name on the client side, the GetWindowByName method is used. A popup window can be invoked or hidden on the client side by using the ShowWindow or HideWindow method (see the SetHintVisible function).

In order to show or hide a default window, the Show or Hide method can be used (see the SetWindowErrorVisible function).

The SetContentHtml method is used in this demo to display the HTML code representing the default popup window's content (see the SetWindowErrorString function). The content of a specific popup window can be obtained on the client side via the GetWindowContentHtml method and defined via the SetWindowContentHtml method.

Version: v2012 vol 2.8
Experience the DevExpress Difference Today
Demos with source code are included with an installation of DevExpress controls for ASP.NET. Refer to the Demos and Sample Applications topic to learn more.
To download your free evaluation copy of our award-winning ASP.NET libraries, visit the Downloads page
All DevExpress MVC Extensions ship as part of DXperience ASP.NET, Enterprise, and Universal.
To obtain pricing information, visit the Pricing Options page or contact us via Email at info@devexpress.com
or by telephone at +1 (818) 844-3383 between 8:30am and 5pm Pacific Time.