Category / Section
How to refer different version of jQuery suspending the jQuery version referred internally in Syncfusion .NET WebForms Olap Grid library?
2 mins 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.
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.
Figure 2: Referring jQuery version: 1.6.2