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

How to solve the jQuery script loading problem, when the ASP.NET (EJWEB) and ASP.NET Classic controls are in same page?

Platform: ASP.NET Web Forms (Classic) |
Control: General |
.NET Framework: 4 |
Product Version:
Tags: general, tools


When you use both Syncfusion ASP.NET Classic and ASP.NET (EJWEB) controls in a same page, ASP.NET(EJWEB) control raises a script error-“ej is undefined”.


The error is raised due to jQuery script conflict, since two different versions of jQuery files are referred in the application (one is referred from Syncfusion shared web assembly and another one is used in application level for EJWEB controls).


To avoid conflict between two jQuery scripts, you have to skip loading the jQuery file that is referred from shared web source. You can achieve this by disabling SFjQueryLoad key in Web.Config file. Refer to the following code example.


<asp:ScriptManager ID="scriptmgr" runat="server"></asp:ScriptManager> 
<ej:Button ID="ejButton" Text="Sample" runat="server">
 <syncfusion:ButtonAdv ID="sfButton" Text=" Sample One" runat="server"></syncfusion:ButtonAdv>


<add key="SFjQueryLoad" value="false" />


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