Using Wijmo controls in Secured Sites

Many times when C1Wijmo controls are used in secure sites (https), users may get script errors. The reason for this is that our CDN links are not https.

Solving HTTPS Errors

To solve the above mentioned script problem, you need to use local script file and not use online CDN links. You can use one of the following solutions for this: Solution 1. Uncheck the 'UseCDN' option in the SmartTag of C1Wijmo control in design view. Solution 2. You can explicitly set this option to false in the web config file :

      <add key="WijmoUseCDN" value="False" />  

This is done because when 'UseCDN' is set to false, the controls render local scripts and do not point to CDN hosted files. This will prevent the issue of https interference.

Using Local Script files

Following are the steps to use local scripts : 1. Download the file from the following url : Download 2. Add links to js files in your application :

<script src="../../Scripts/jquery.bgiframe-2.1.3-pre.js" type="text/javascript"></script>  
 <script src="./../Scripts/globalize.min.js" type="text/javascript"></script>  
 <script src="./../Scripts/jquery.mousewheel.min.js" type="text/javascript"></script>  
 <script src="./../Scripts/raphael.js" type="text/javascript"></script>  
 <script src="./../Scripts/jquery.wijmo-open.1.4.0.min.js" type="text/javascript"></script>  
 <script src="./../Scripts/jquery.wijmo-complete.1.4.0.min.js" type="text/javascript"></script>

3. Copy the following CSS files from the Wijmo-Complete zipped file in your project and add links to these stylesheets :

  • jquery-wijmo.cs
  • jquery.wijmo-complete.2.0.0.css
  • jquery.wijmo-open.2.0.0.css

In case you face some problems, please contact our Support team at Studio for ASP.NET Wijmo forums.


GrapeCity Developer Tools
comments powered by Disqus