Merge Syncfusion Javascript Files
February 13, 2012 07:19 AM by Meena[Syncfusion]
Matthias Max
Merge Syncfusion Javascript Files
February 3, 2012 10:16 AM
Hi,

Syncfusion controls add many javascript links to my page. The downside: Very long loading times of the pages.

I really need a solution to merge these referenes together with my own javascript files (which I already merge and minify with standard Script Manager).

Thank you for any hint.

M.

Matthias Max
Merge Syncfusion Javascript Files
February 6, 2012 03:51 AM
Anyone?

Matthias Max
Merge Syncfusion Javascript Files
February 6, 2012 04:07 AM
Also SF is adding a jquery version 1.4.2 in the body although I have a jQuery version added to the page anyway. How can I prevent SF from doing this?

Thanks.

Meena
[Syncfusion]
Merge Syncfusion Javascript Files
February 7, 2012 12:41 AM
Hi Matthias,

Thanks for using Syncfusion products.

*Query1:

Your requirement of merging the Syncfusion javascript files together with your javascript file is not possible. Instead we suggest you to minify the syncfusion javascripts. Please refer the below code snippet.


[Site.Master]
<%=Html.Syncfusion().ScriptManager().Minify(true)%>


Using the above code, we can minify all the Syncfusion JS files which will reduce the loading time considerably.

*Query2:

Also SF is adding a jquery version 1.4.2 in the body although I have a jQuery version added to the page anyway. How can I prevent SF from doing this?

The query is not clear. Kindly provide the requirements in detail.

Please let us know if you have any other concerns.

Regards,
Meena



Matthias Max
Merge Syncfusion Javascript Files
February 7, 2012 02:46 AM
Hi,

Query 1: I rather would combine them instead of minify. How is this possible? To combine all the SYNCFUSION files into one?

Query 2: I'm saying that Syncfusion controls are adding their own version of jQuery 1.4.2 although I have one linked already in the header of my page.

Basically I want to reduce http request and by minifying the files this is not possible. I need to combine files. In total I have over 20 js links generated from Syncfusion! That is not really what today pages are about I believe.

Thank you.

Matthias Max
Merge Syncfusion Javascript Files
February 7, 2012 03:34 AM
Is the "combine" feature available in the 2012 release?

Meena
[Syncfusion]
Merge Syncfusion Javascript Files
February 10, 2012 07:46 AM
Hi Matthias,

Sorry for the delay in getting back to you.

We have a plan for the implementation of combining the Syncfusion javascript files together in a single JS file. We will implement this feature in any of our releases. We will get back to you once the feature is implemented.

Please let us know if you have any other concerns.

Regards,
Meena


Matthias Max
Merge Syncfusion Javascript Files
February 13, 2012 06:13 AM
Hi, thanks for the info.

What about Query 2?

Thank you

Meena
[Syncfusion]
Merge Syncfusion Javascript Files
February 13, 2012 07:19 AM
Hi Matthias,

Sorry for the inconvenience caused.

Kindly ignore the previous update.

*Query1: I rather would combine them instead of minify. How is this possible? To combine all the SYNCFUSION files into one?

Our ScriptManager is capable of merging all javascript files together into a single file while loading. This is the default behavior of our ScriptManager. We are not able to merge the third party javascript files (JQuery, MicrosoftAjax, etc) into a single file using Syncfusion ScriptManager. This has been confirmed as a feature request. We will implement this feature in any of our upcoming releases.

Please refer the below link for more details:

http://help.syncfusion.com/resources/Content/Ug_101/User%20Interface/ASP.NET%20MVC/Tools/default.htm#!documents/addscriptmanagertoanapplication.htm


*Query2: I'm saying that Syncfusion controls are adding their own version of jQuery 1.4.2 although I have one linked already in the header of my page.

This also has been confirmed as a feature request. We have logged this feature in our database, we will implement this in any of our upcoming releases. Once the feature is implemented, you can use any jquery version JS file.

We will get back to you once the features are implemented.

Hope this answers your question. If you need any other clarifications, please let us know.

Regards,
Meena


::adCenter::