Skip to main content

Bind Tab Control to Data

MVCxTabControl can be populated with information taken from a data source. The extension can be bound to any object that implements the IHierarchicalEnumerable or IHierarchicalDataSource interface (e.g. SiteMapDataSource, XmlDataSource).

TabControl ships with the following data binding methods:

TabControl supports two methods of data retrieval from a specified data source. One involves manually setting specific data-related properties to data source item attribute names. The other, exploits the TabControl’s ability to retrieve data automatically, given that the data source item attributes are named after the property names a MVCxTab object.

However you choose to proceed, TabControl automatically creates the tab objects and retrieves their property values from corresponding items.

Concepts