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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Does not contain a definition for EJ and no extentension...

Thread ID:

Created:

Updated:

Platform:

Replies:

118198 Feb 10,2015 03:51 PM UTC Feb 11,2015 01:39 PM UTC ASP.NET MVC 1
loading
Tags: DatePicker
Marcos Romero
Asked On February 10, 2015 03:51 PM UTC

I've followed the directions I've found to the best of my knowledge, but I still am missing the reference to EJ. 

In my root Web.config I'm adding the assemblies as so:

<add assembly="Syncfusion.EJ, Version=12.4450.0.24, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89"/>
<add assembly="Syncfusion.EJ.Mvc, Version=12.4300.0.24, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89"/>

I'm also adding the namespace in the root web.config as well as the view web.config as:
        <add namespace="Syncfusion.MVC.EJ" />
        <add namespace="Syncfusion.Mvc.Shared" />

Yet it still doesn't find it, am I missing something? 

Thanks. 

Kaliswaran Shanmuga Sundaram [Syncfusion]
Replied On February 11, 2015 01:39 PM UTC

Hi Marcos,

 

Thanks for using Syncfusion products.

 

Query : “Does not contain a definition for EJ and no extension. I've followed the directions I've found to the best of my knowledge, but I still am missing the reference to EJ.”

 

We have analyzed your query and we are unable to reproduce the reported error in our end. We suspect that the problem here is, not proper configuration in the following cases.

 

1.       Ensure the following basic syncfusion DLL’s are referred in your application or not.

1.       Syncfusion.EJ.dll

2.       Syncfusion.Ej.mvc.dll

2.       In our application we have a root configuration file (web.config) present in the Application. In that we need to include the following assembly reference into the <assemblies> tag.

 

       Please add the following code snippet to Application web.config file.

[web.config]

  <assemblies>

          <add assembly="Syncfusion.EJ, Version=xx.xxxx.x.xx, Culture=neutral, PublicKeyToken=xxxxxxxxxxxxxx" />

          <add assembly="Syncfusion.EJ.Mvc, Version= xx.xxxx.x.xx, Culture=neutral, PublicKeyToken= xxxxxxxxxxxxxx " />

    </assemblies>

3.       In our application we have another web.config file present in the Application -> Views Folder -> web.config file. In that we need to include the following namespace.

 

Please add the following code snippet to Views web.config file.

[web.config]

  <add namespace="Syncfusion.JavaScript"/>

    <add namespace="Syncfusion.MVC.EJ"/>

 

4.       Once completed all the above processing, close and open the _layout.cshtml file if it’s in open state.

5.       Then it resolves the EJ undefined error in your application.

 

For your convenience, we have prepared a simple sample based on your requirement. You can also download the attached sample from the following location.

 

Sample: Sample

Also if you want to know more about our components to getting started, please find the below link.

http://help.syncfusion.com/web

In order to know more detailed information please refer the below link which includes all the details to get started with our components.

http://help.syncfusion.com/cr/js

Also you can find all the samples of our components in the following link location.

http://js.syncfusion.com/demos/web/

 

If you still face any problems, please revert back us with your sample and detailed replication procedure. This would be helpful for us to provide you the exact solution.

 

Please let us know if you have further queries.

Regards,

Kaliswaran S

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

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

;