[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
  [Collapse]Site Navigation and Layout
   [Expand]Product Information
   [Expand]Form Layout
   [Expand]Navigation Bar
   [Collapse]Page Control and Tab Control
     ASPxTabControl Overview
     [Collapse]Data Binding
       Data Binding Overview
       Data Binding Using Mapping Properties
       Automatic Data Binding
       Using Data Binding Events
      Tab Layout Customization
      Tab Control vs Page Control
    [Expand]Visual Elements
    Panel Overview
   [Expand]Site Map Control
   [Expand]Tag Cloud Control
   [Expand]Title Index
  [Expand]HTML Editor
  [Expand]Vertical Grid
  [Expand]Data Editors
  [Expand]Docking and Popups
  [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

Data Binding Overview

Apart from the possibility to create tabs and specify their properties manually, data from a data source file can be used to populate the tabs through the process of binding. The ASPxTabControl can be bound to any object that implements the IHierarchicalEnumerable or IHierarchicalDataSource interface (e.g. SiteMapDataSource, XmlDataSource).

A data source can be specified by using either one of these properties of the tab control:

The ASPxTabControl supports two methods to retrieve data from the specified data source. One involves manually setting the control's specific data-related properties to the data source node attribute names. The other one exploits the ASPxTabControl's unique ability to retrieve data automatically, given that the data source node attributes are named after the property names of a Tab object.

Whichever way you choose, the APSxTabControl automatically creates the Tab objects and retrieves their property values from the corresponding nodes.

Additionally, the ASPxTabControl provides you with specific events related to data binding, that you can handle according to your application logic (for example, modify tab object properties).

Expanded Other topics in this section

Expanded Examples

Expanded Online demos

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