[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
     [Expand]Popup Windows
     [Collapse]Binding to Data
       Binding to Data Overview
       Automatic Data Binding
       Using Data Binding Events
      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]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Binding to Data Overview

Apart from the possibility of creating windows and specifying their properties manually, data from a data source file can be used to populate windows through a binding process. The ASPxPopupControl can be bound to any object that implements the IListSource, IEnumerable or IDataSource interface (e.g. SqlDataSource, XmlDataSource).

A data source can be specified by using any of the following properties of the ASPxPopupControl control:

The image below demonstrates the path for binding an ASPxPopupControl to an XML file.

ASPxPopupControl automatically creates a PopupWindow object for each record in the data source and retrieves their property values from corresponding items.

Additionally, ASPxPopupControl provides you with specific events related to data binding that you can handle according to your application logic (for example, modify window content style).

Expanded Concepts

Expanded Online demos

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