This is a migrated thread and some comments may be shown as answers.

Model As DataSource on the Tag Helpers

1 Answer 46 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Max
Top achievements
Rank 1
Max asked on 27 Nov 2018, 12:49 PM

Hello,

I am using the old Jquery pie charts, these are getting populated by the model (The model will be populated by a stored procedure), however, i am trying to migrating to the new Pie chart Tag Helpers but i can not seem to use a Model as the data-source, is this possible and if so how can i achieve this?

 

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 30 Nov 2018, 11:32 AM
Hello, Max,

In general, the tag-helpers can be bound to the model as well.

Please check the following forum post demonstrating the syntax. The post is for the DropDownList, but a similar approach could be used for the Chart:

https://www.telerik.com/forums/local-binding-with-tag-helper

Regards,
Stefan
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Chart
Asked by
Max
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or