)
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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Platform: ASP.NET MVC (Classic) |
Control: RichTextEditor |
Published Date: January 13, 2015 |
Last Revised Date: January 14, 2015 |
.NET Framework: 4.5 |
Product Version: 12.4.0.24

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

 

 

ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon