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.
Unfortunately, activation email could not send to your email. Please try again.

Error: Does not contain definition for Syncfusion and no extension method 'Syncfusion' (are you missing a using directive or an assembly reference)

Problem

Does not contain definition for Syncfusion and no extension method 'Syncfusion' (are you missing a using directive or an assembly reference) error occurs when you use Syncfusion in view page. That is Syncfusion is not displayed in intellisense. The following screenshot illustrates the error.

C:\Users\Rajaveni\Desktop\err.png

Figure 1: Error message

Reason

This error occurs when you miss namespace references in your application. That is, when necessary namespaces are not included in your application.

Solution

To resolve this issue, specify necessary namespaces when you add your Essential Tools control in your Application. It is suggested to add the following namespaces in two of the web.config files in your application for using Tools control in sample application.

  1. Syncfusion.Mvc.Shared
  2. Syncfusion.Mvc.Tools

Refer to the following code example.

Web.Config

Also, add Namespaces in web.config file inside Views folder.

Web.Config

To add Syncfusion Tools control in your MVC application, with necessary web.config settings, refer to the following UG Documentation link:

http://help.syncfusion.com/ug/asp.net%20mvc/default.htm#!documents/howtoaddessentialtoo.htm

 

 

Article ID: Published Date: Last Revised Date: Platform: Control: .NET Framework: Product Version:
3234 01/13/2015 01/14/2015 ASP.NET MVC (Classic) RichTextEditor 4.5 12.4.0.24
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.