The diagram can use the standard data sources for data binding an ASP.NET control:
- Declarative ASP.NET data sources (SqlDatasource, ObjectDataSource, LinqDataSource, etc.)
- Server-side collections that implement the IEnumerable interface.
The shapes and the connections of Telerik ASP.NET diagram are data bound separately.
Similar to setting a data source for an ASP.NET control, you should either use the DataSourceID property when data binding shapes declaratively or DataSource when the data source of the shapes is set on the server-side.
The data binding of connections is achieved via the properties ConnectionDataSourceID and ConnectionDataSource.
The columns of the data source are attached to their corresponding data fields in the shapes and connections via the properties with the structure
Data[field name]Field in
RadDiagram > BindingSettings > ShapeSettings and
RadDiagram > BindingSettings > ConnectionSettings.