Dock and Modal Popups - Popup Window Client-Side Functionality

Update

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: v2014 vol 2.3
Copyright © 2006-2014 Developer Express Inc
Your Next Great MVC App Starts Here

Get started today and download your 30-day trial of DevExpress MVC Extensions (includes 30 days of free technical support).

All demos ship with full source code and are included in the DevExpress MVC distribution. Refer to the Demos and Sample Applications topic to learn more.

DevExpress MVC Extensions ship as part of DevExpress Universal, DXperience and ASP.NET Subscriptions and are backed by a 60 day unconditional money-back guarantee.
To learn more and obtain pricing information, visit the Compare Features and Pricing webpage. For immediate assistance, contact us by Email at info@devexpress.com or by phone at +1 (818) 844-3383 between 7:30am and 4:30pm Pacific Time.