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

How to refer different version of jQuery suspending the jQuery version referred internally in Syncfusion library?

Platform: ASP.NET Web Forms (Classic) |
Control: OlapGrid |
Published Date: March 12, 2015 |
Last Revised Date: July 3, 2019

This KB illustrates that how to suspend the jQuery version referred internally in Syncfusion library.

Solution

Currently, you are referring the jQuery 1.10.2 version for your controls. To avoid referring this jQuery version, set SFjQueryLoad as false in web.config file. Refer to the following code example and screenshot.

XAML

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

The following screenshot illustrates the output.

Setting SFjQueryLoad as false in web.config file

Figure 1: Setting SFjQueryLoad as false in web.config file

Now, you can refer to the desired jQuery version instead of the version referred in Syncfusion library in .aspx page. Refer to the following code example and screenshot.

jQuery version: 1.6.2

HTML

<head runat="server">
<script type="text/javascript" src="http://code.jquery.com/jquery-1.6.2.js"></script>
</head>

jQuery version: 1.11.1

HTML

<head runat="server">
<script type="text/javascript" src="http://code.jquery.com/jquery-1.11.1.js"></script>
</head>

The following screenshot illustrates the output.

Referring jQuery version: 1.6.2

Figure 2: Referring jQuery version: 1.6.2

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