This is my first time use syncfusion for asp mvc 5 razor
I want to create a chart, in my learning i found error in my first.
@(Html.EJ().Chart("container").Render())
that is my code in cshtml and this is my error :
Cannot implicitly convert type 'void' to 'object'
how to solve this?
This happens because of specifying the “.Render()” This structure was followed in Syncfusion Essential studio version 12.1.0.36. But it was changed in the future release. Please find the below code snippet for initializing a chart control.
This standard is followed from Syncfusion Essential studio version 12.2.0.36 to current versions.
Thanks,