New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

Data Binding RadChart to an ObjectDataSource

RadChart has been replaced by RadHtmlChart, Telerik's client-side charting component. If you are considering RadChart for new development, examine the RadHtmlChart documentation and online demos first to see if it will fit your development needs. If you are already using RadChart in your projects, you can migrate to RadHtmlChart by following these articles: Migrating Series, Migrating Axes, Migrating Date Axes, Migrating Databinding, Features parity. Support for RadChart is discontinued as of Q3 2014, but the control will remain in the assembly so it can still be used. We encourage you to use RadHtmlChart for new development.

RadChart can be bound to ObjectDataSource in multi-tier application scenarios.See the MSDN article ObjectDataSource Overview for more information on where and why you would use an ObjectDataSource control.

An ObjectDataSource represents a business object and provides data to data-bound controls in multi-tier applications. The application doesn't need to know how data is obtained as long as you connect the ObjectDataSource to an object that has DataObjectAttribute and DataObjectMethodAttribute attributes defined.See the following examples for how to create the business object and how to bind RadChart to ObjectDataSource:

See Also

In this article