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.
Unfortunately, activation email could not send to your email. Please try again.

Merge Syncfusion Javascript Files

Thread ID:

Created:

Updated:

Platform:

Replies:

102503 Feb 3,2012 10:16 AM Mar 21,2013 08:32 AM General Discussion 13
loading
Tags: General Discussion
Matthias Max
Asked On 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
Replied On February 6, 2012 03:51 AM

Anyone?


Matthias Max
Replied On 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]
Replied On 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
Replied On 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
Replied On February 7, 2012 03:34 AM

Is the "combine" feature available in the 2012 release?


Meena [Syncfusion]
Replied On 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
Replied On February 13, 2012 06:13 AM

Hi, thanks for the info.

What about Query 2?

Thank you


Meena [Syncfusion]
Replied On 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/ug/asp.net%20mvc/tools/Documents/addingscriptmanager.htm


*Query2: I am 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



Matthias Max
Replied On September 5, 2012 05:35 AM

Hi, is this implemented in VOlume3?

THanks

Meena [Syncfusion]
Replied On September 6, 2012 07:31 AM

Hi Matthias,

 

Sorry for the inconvenience.

 

The above mentioned feature is not implemented in Volume 3. We will implement this feature in our upcoming releases. We will get back to you once the feature is implemented.

 

Regards,

Meena


Davis Jebaraj [Syncfusion]
Replied On September 11, 2012 02:22 PM

Hi Matthias,

 

We regret for the delay in implementing the 2 changes you have requested. Both requests are important for our products and we will consider implementing in our upcoming 2012 Volume 4 release (November 2012).

 

Thanks,

 

Davis


Administrator [Syncfusion]
Replied On March 19, 2013 12:32 PM

Hello, is Query 2 feature included in VOl. 4?

Thank you

Meena [Syncfusion]
Replied On March 21, 2013 08:32 AM

Hi Matthias,

 

Regarding query 2, could you please explain where the jquery 1.4.2 script is loading in your application? Because, we are not loading any default jquery script from our source. It will be loaded from sample only, we can have any version of jquery script in sample application.  So, kindly provide more details on your requirement.

 

Regards,

Meena


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;