[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
   Getting Started
  [Expand]Grid View
  [Expand]Tree List
  [Expand]Card View
  [Expand]Reporting
  [Expand]Chart Control
  [Expand]Pivot Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Scheduler
  [Collapse]Site Navigation and Layout
   [Expand]Product Information
   [Expand]Form Layout
   [Expand]Menu
   [Expand]Navigation Bar
   [Collapse]Page Control and Tab Control
     ASPxTabControl Overview
    [Collapse]Concepts
     [Collapse]Data Binding
       Data Binding Overview
       Data Binding Using Mapping Properties
       Automatic Data Binding
       Using Data Binding Events
      Tab Layout Customization
      Templates
      Tab Control vs Page Control
    [Expand]Visual Elements
    [Expand]Examples
    Panel Overview
   [Expand]Ribbon
   [Expand]Site Map Control
   [Expand]Splitter
   [Expand]Tag Cloud Control
   [Expand]Title Index
   [Expand]TreeView
  [Expand]HTML Editor
  [Expand]Gauges
  [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]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]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[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?​​​​​​​