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.
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
The source code files for this demo are installed (by default) in the following directory:
Open CS Solution
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxDockAndPopupsDemos