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

Syncfusion controls are taking time to interact

Hi Team,

Once the page is loaded, controls like Grid, TreeGrid, Accordion are taking time to initialize. Not able to interact with controls as soon as the page loaded. Please let me know what can be done to improve the response time of controls after initial page load.

Thanks,
Suresh.

3 Replies

VA Venkatesh Ayothi Raman Syncfusion Team August 8, 2017 01:10 PM UTC

Hi Suresh, 

Thanks for contacting Syncfusion support. 

Maybe scripts and CSS files size cause this problem. The following two ways to reduce the time while same page gets reloaded,  
Compress the ZIP file using GZIP  
   
We suggest you to use GZip. If you use the GZip for compressing the file size, you will have optimal solution in the production server. Please refer to the documentation for information on GZip.    
   
   
Referring Grid dependent files alone:     
   
We can also refer individual files for rendering the Grid control instead of referring the ej.web.all.min.js file. Please refer to the below documentation, where we have listed out the dependent files for rendering the Grid control. Because its reduce the file size and also reducing the load time while page gets again build. Please refer to the Help documentation for more information,  
We can find the above mentioned files from the below mentioned installed location.     
Script Location:      
C:\Program Files (x86)\Syncfusion\EssentialStudio\XX.X.X.XX\JavaScript\assets\scripts\web     
     
Here, XX.X.X.XX denotes the Product Version such for example, 15.2.0.46       

Also, we suggest you to use the CSG scripts.  
 
   
  
custom script generator is used to generate scripts and themes for only dependent Control .  
  
   
   
This is generate the grid and dependent controls script and css only.  
 
Refer the following UG Link for your reference.  
 
Please let us know if you need further assistance on this.  
 
Regards, 
Venkatesh Ayothiraman. 




TO Tomasz August 8, 2017 01:21 PM UTC

You make set false this appseting

<appSettings>
<add key="LoadEJResourcesFromAssembly" value="false" />
<add key="EJResources" value="jsrender:true;themes:false;" />
</appSettings>

 in web .onfig



VA Venkatesh Ayothi Raman Syncfusion Team August 9, 2017 11:42 AM UTC

Hi Suresh, 

Thanks for the update. 

Yes, if we use individual or CSG scripts files then we should false the following app setting. Because, if we enable this then Syncfusion scripts are referred from corresponding Dll version. So, it causes the conflict error.  
  
[webconfig file] 
 
<appSettings>
<
add key="LoadEJResourcesFromAssembly" value="false" />
<
add key="EJResources" value="jsrender:true;themes:false;" />
</
appSettings> 
 
 
  
Please let us know if you have any further assistance on this. 
 
Regards, 
Venkatesh Ayothiraman. 


Loader.
Up arrow icon