Manipulating Windows

Manipulating popup windows on the server side

On the server side, popup windows are represented by the PopupWindow objects stored in the ASPxPopupControl.Windows collection. You can access a separate window by its index in the collection.

To show the window, set its PopupWindow.ShowOnPageLoad property value to true.

Manipulating popup windows on the client side

On the client side, you can use the ASPxClientPopupControl.GetWindow or ASPxClientPopupControl.GetWindowByName method to obtain a popup window by its index or name respectively. Popup windows are represented by the ASPxClientPopupWindow objects. You can use these objects to change text or images used in the windows utilizing the corresponding methods.

To show a particular window, pass the window object as a parameter to one of the following methods.

Use the ASPxClientPopupControl.HideWindow method to hide a popup window

NOTE

It's impossible to add or remove windows to the popup control on the client side. You can only manipulate the existing ones. To change the collection, send a request to the server.