Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]Welcome to DevExpress .NET Documentation
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
   Getting Started
  [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
     [Expand]Popup Windows
     [Collapse]Binding to Data
       Binding to Data Overview
       Automatic Data Binding
       Using Data Binding Events
      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

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?​​​​​​​