Articles in this section
Category / Section

How to refer different version of jQuery suspending the jQuery version referred internally in Syncfusion in .NET WebForms OlapClient library?

1 min read

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

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied