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

How to use Syncfusion Control ?

i have installed licence syncfusion control and also add reference dll in reference Folder. And i am trying to use it in Asp.Net Mvc application. then Application show error -CS1061: 'System.Web.Mvc.HtmlHelper<dynamic>' does not contain a definition for 'Syncfusion' and no extension method 'Syncfusion' accepting a first argument of type 'System.Web.Mvc.HtmlHelper<dynamic>' could be found (are you missing a using directive or an assembly reference?)

1 Reply

DS Dharmalingam S Syncfusion Team April 22, 2013 05:40 AM UTC

Hi Praful,

 

Thank you for using Syncfusion products.

 

This issue will occur if the namespaces are not referred in the “Web.config” under Views folder. In Razor mode view engine, the namespace should be rendered in both “Web.config” and “Web.config” in Views folder. We suggest you to refer and use the following code snippet in your sample:

 

<code>

[Views/Web.Config]

<namespaces>

<add namespace="Syncfusion.Mvc.Shared" />

<add namespace="Syncfusion.Mvc.Tools" />

</namespaces>

</code>

 

We also suggest you to refer the following documentation to know more information on adding reference to our Syncfusion control,
http://help.syncfusion.com/ug/asp.net%20mvc/tools/default.htm#!documents/addessentialtoolstot.htm

 

Please let us know if you require any further assistance on this.

 

Regards

Dharmalingam S


Loader.
Live Chat Icon For mobile
Up arrow icon