RadTabStrip supports binding to various types of data sources, including declarative
datasources.
Some of the declarative data sources are inherently hierarchical. These include
SiteMapDataSource and XmlDataSource. When data-bound
to these types of data sources, RadTabStrip automatically creates the tab hierarchy.
There is no need to use the DataFieldID and DataFieldParentID
properties.
RadTabStrip supports binding to an ObjectDataSource as well. In
addition to the standard Tab properties (Text, Value, Navigate Url, etc.) that can
be bound to the underlying business objects, the DataFieldID and
DataFieldParentID properties can be specified, too. In this way,
RadTabStrip will create a hierarchy of Tabs.
Still, the business objects should provide the data needed for the RadTabStrip to
build the hierarchy. If the ParentID property of the business objects is of nullable
or reference type, or is of value type (Integer, Guid, etc.), '0'/'Guid.Empty', then
null values denote root Tabs.
In the demo is also demonstrated how to bind the RadTabStrip to an EntityDataSource.
The DataFieldID and DataFieldParentID properties.
For more details on the aforementioned algorithm, please read the documentation
topic -
Binding to object-based data sources.