We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

'System.Web.Mvc.HtmlHelper' does not contain a definition for 'Syncfusion' and no extension method 'Syncfusion' accepting a first argument of type 'System.Web.Mvc.HtmlHelper' could be found

I read the other post on this topic (found here) but for some reason all the code is missing and is replaced by ellipses (...)

But I took as much advice from that post as I could. I referenced and added all these assemblies to web.config:

        <add assembly="Syncfusion.EJ, Version=12.2450.0.36, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />
        <add assembly="Syncfusion.EJ.Mvc, Version=12.2400.0.36, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />
        <add assembly="Syncfusion.Grid.Mvc, Version=12.2400.0.36, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />
        <add assembly="Syncfusion.Maps.Mvc, Version=12.2400.0.36, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />
        <add assembly="Syncfusion.OlapGrid.Mvc, Version=12.2400.0.36, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />
        <add assembly="Syncfusion.DashboardViewer.Mvc, Version=12.2400.0.36, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />
        <add assembly="Syncfusion.OlapChart.Mvc, Version=12.2400.0.36, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />
        <add assembly="Syncfusion.OlapShared.Mvc, Version=12.2400.0.36, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />
        <add assembly="Syncfusion.Shared.Mvc, Version=12.2400.0.36, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />  
        <add assembly="Syncfusion.Tools.Mvc, Version=12.2400.0.36, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />
        <add assembly="Syncfusion.Core, Version=12.2450.0.36, Culture=neutral, PublicKeyToken=632609B4D040F6B4" />
        <add assembly="Syncfusion.Shared.Base, Version=12.2450.0.36, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />
        <add assembly="Syncfusion.Theme.Base, Version=12.2450.0.36, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />
        <add assembly="Syncfusion.Olap.Base, Version=12.2450.0.36, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />
        <add assembly="Syncfusion.Chart.Mvc, Version=12.2400.0.36, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />
        <add assembly="Syncfusion.Linq.Base, Version=12.2450.0.36, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />
        <add assembly="Syncfusion.Chart.Base, Version=12.2450.0.36, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />
        <add assembly="Syncfusion.Compression.Base, Version=12.2450.0.36, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />

And I added all these namespaces:

        <add namespace="System.Web.Helpers" />
        <add namespace="System.Web.Mvc" />
        <add namespace="System.Web.Mvc.Ajax" />
        <add namespace="System.Web.Mvc.Html" />
        <add namespace="System.Web.Optimization" />
        <add namespace="System.Web.Routing" />
        <add namespace="System.Web.WebPages" />
        <add namespace="Syncfusion.MVC.EJ" />
        <add namespace="Syncfusion.JavaScript" />
        <add namespace="Syncfusion.JavaScript.DataVisualization" />
        <add namespace="Syncfusion.Mvc.Shared"/>
        <add namespace="Syncfusion.Mvc.Tools"/>
        <add namespace="Syncfusion.DashboardViewer.Mvc"/>
        <add namespace="Syncfusion.Mvc.Grid"/>
        <add namespace="Syncfusion.Mvc.Olap.Grid" />
        <add namespace="Syncfusion.Mvc.Olap.Chart" />
        <add namespace="Syncfusion.Olap.Manager" />

But when I go to my Index.cshtml, it still doesn't recognize the "Syncfusion" definition in:

    @{Html.Syncfusion().DashboardViewer("DashboardViewer1").Render();}

What else do I need to do?

3 Replies

NR Nigin Raj E.C Syncfusion Team September 11, 2014 05:09 AM UTC

Hi Jeremiah Cooper,

    Thank you for your interest in Syncfusion Products.

We have provided response to your query in the incident 129523.

Please let us know if you have any concerns.

Regards,
Nigin Raj E C


MP Matt Phung replied to Nigin Raj E C December 29, 2015 07:01 PM UTC

Hi Jeremiah Cooper,

    Thank you for your interest in Syncfusion Products.

We have provided response to your query in the incident 129523.

Please let us know if you have any concerns.

Regards,
Nigin Raj E C

how do I find  incident 129523


VK Vinod Kumar R Syncfusion Team December 30, 2015 10:55 AM UTC

Hi Matt,


You can view the incidents which is created by you in the following link.

https://www.syncfusion.com/account/login?ReturnUrl=/support/directtrac/incidents


However, incidents which is created by other users cannot viewed by the general public for the security purpose. Please find the following solution.


Dashboard Viewer MVC product was deprecated few releases before. We have introduced a new Dashboard Platform SDK instead through which Dashboard Viewer can be embedded in applications of platforms like ASP.NET MVC, ASP.NET, LightSwitch HTML, WPF and Windows Forms.

Refer to below the user guide for Dashboard Platform SDK that illustrates the installation procedure and how to get start with embedding dashboards in respective platform applications.
http://help.syncfusion.com/dashboard-platform/dashboard-sdk 

To embed dashboard, you require a dashboard file (SYDX formatted file) which have to be created through Syncfusion Dashboard Designer application. The following link holds the installation procedure and how to get start with Dashboard Designer to design a dashboard.
http://help.syncfusion.com/dashboard-platform/dashboard-designer 

Regards,
Vinod


Loader.
Live Chat Icon For mobile
Up arrow icon