Hi Simon,
Thanks for contacting Syncfusion support.
The problem you are currently facing is the known issue and that will occur only when the dashboard sample is created with the reference of very first release of the Syncfusion Dashboard Platform SDK.
Initially we have provided the support to embed the ejDashboardViewer into the ASP.NET MVC platform under EJ().
Later we are having the requirement that integrating the ejDashboardViewer along with the Syncfusion ejControls, here both the wrapper library should contains the EJ() component. At that case we are facing the conflict with the ambiguous reference that you are currently facing.
So we have decided to the provide the separate wrapper library for ejDashboardViewer at the case while integrating with the ejControls named Syncfusion.EJ.DashboardViewer.Mvc which should call the ejDashboardViewer via EJDashboard() instead of Syncfusion.EJ.DashboardViewer’s EJ()
In the meantime we are providing the support for the backward compatibility via the library Syncfusion.EJ.DashboardViewer (On the usage of ejDashboardViewer alone).
Please find the following changes regarding the issue you are currently facing.
Dashboard Platform Version |
up to 2.3.032 |
3.1.0.113 and later |
Wrapper DLL reference |
Syncfusion.EJ.DashboardViewer |
Syncfusion.EJ.DashboardViewer.Mvc |
Syntax |
@Html.EJ().DashboardViewer |
@Html.EJDashboard().DashboardViewer |
You can call the ejdashboardViewer along with the ejControls like below example by using the Syncfusion.EJ.DashboardViewer.Mvc for ejDashboardViewer
Please find the Syncfusion.EJ.DashboardViewer.Mvc wrapper dll from the following Synfusion Dashboard Platform SDK installed location
%LocalAppData%\Syncfusion\Dashboard Platform SDK\Getting Started Samples\Common\Precompiled Assemblies\Syncfusion.EJ.DashboardViewer.Mvc\
Also you can refer the Getting started sample from the installed location itself.
%LocalAppData%\Syncfusion\Dashboard Platform SDK\Getting Started Samples\ASP.NET MVC\LocalEmbeddedDashboard
Regards,
Farveen sulthana T