Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
  [Expand]Reporting
  [Expand]Chart Control
  [Expand]Grid View
  [Expand]Card View
  [Expand]Vertical Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Image and Data Browsing
  [Collapse]Docking and Popups
   [Expand]Product Information
   [Expand]Docking
   [Expand]Hint Control
   [Expand]Loading Panel
   [Collapse]Popup Control
     ASPxPopupControl Overview
    [Collapse]Concepts
     [Collapse]Popup Windows
       Adding Windows
       Manipulating Windows
       Default Window
     [Expand]Binding to Data
      Appearance Customization
      Adaptivity
      ASPxPopupControl Limitations
    [Expand]Visual Elements
  [Expand]Site Navigation and Layout
  [Expand]File Management
  [Expand]Multi-Use Site Controls
  [Expand]Scheduler
  [Expand]HTML Editor
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Gauges
  [Expand]Data Editors
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [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]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

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

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.

How would you rate this topic?​​​​​​​