)
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

Why do I get JavaScript error of "'ej' undefined" while running an application with Syncfusion controls?

Platform: ASP.NET Web Forms |
Control: General |
Published Date: May 29, 2015 |
Last Revised Date: May 8, 2019 |
.NET Framework: 4.5.1

Resolving “ej undefined” error while rendering Syncfusion controls

When the referred script files are not in proper order or when the script file, ej.web.all.min.js reference is missing, then the JavaScript error, ej is undefined, occurs when the application with Syncfusion EJWEB controls is run.

Issue Scenario 1:

In the script file reference, the ej.webform.min.js file is placed before the ej.web.all.min.js file.

Issue Scenario 2:

In the script file reference, the ej.web.all.min.js file reference is missing.

The script reference should be in a following order:

ASPX 

<script src="external/jquery-1.10.2.min.js"></script>
<script src="external/jquery.easing.1.3.min.js"></script>
<script src="external/jquery.globalize.min.js"></script>
<script src="external/jsrender.min.js"></script> 
<script src="ej/ej.web.all.min.js"></script> 
<script src="ej/ej.webform.min.js"></script> 

 

2X faster development

The ultimate ASP.NET Web Forms UI toolkit to boost your development speed.
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