[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
   Getting Started
  [Expand]Grid View
  [Expand]Tree List
  [Expand]Card View
  [Expand]Chart Control
  [Expand]Pivot Grid
  [Expand]Rich Text Editor
  [Expand]Site Navigation and Layout
  [Expand]HTML Editor
  [Expand]Vertical Grid
  [Expand]Data Editors
  [Collapse]Docking and Popups
   [Expand]Product Information
   [Expand]Hint Control
   [Expand]Loading Panel
   [Collapse]Popup Control
     ASPxPopupControl Overview
     [Collapse]Popup Windows
       Adding Windows
       Manipulating Windows
       Default Window
     [Expand]Binding to Data
      Appearance Customization
      ASPxPopupControl Limitations
    [Expand]Visual Elements
  [Expand]File Management
  [Expand]Data and Image Navigation
  [Expand]Multi-Use Site Controls
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Manipulating Windows

Expanded 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.

Expanded 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


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.

Is this topic helpful?​​​​​​​