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

How to create a Kendo Chart using DLL that creates RadHtmlChart object

1 Answer 90 Views
Chart (HTML5)
This is a migrated thread and some comments may be shown as answers.
Jason
Top achievements
Rank 1
Jason asked on 25 Jul 2017, 04:19 PM

We have a custom application that creates a Telerik RadHtmlChart object from an external DLL method.

We also have a second custom application that uses MVC and Kendo components.

I understand that both RadHtmlChart and Kendo charts are using the same underlying server-side wrapper from the Kendo UI chart widgets.

My question is, how can I request that same external DLL using MVC/razor, and have it sent back to my view as a Kendo Chart? Is this possible? 

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 26 Jul 2017, 02:03 PM
Hi Jason,

I have already answered your support ticket in this matter, for convenience I am pasting my answer here as well:

I am afraid that neither RadHtmlChart, nor any other control from the UI for ASP.NET AJAX suite are not supported in MVC setup as they rely on the web form server life-cycle :
http://docs.telerik.com/devtools/aspnet-ajax/mvc/overview

Nevertheless, as RadHmtlChart is an ASP.NET AJAX server-side wrapper of the Kendo UI chart widgets, you can freely switch to the widget's MVC wrappers and use it in your application:
http://www.telerik.com/aspnet-mvc/charts


Regards,
Vessy
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Chart (HTML5)
Asked by
Jason
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Share this question
or