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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Bundle Size Issue

Thread ID:





123347 Mar 9,2016 10:18 AM UTC Mar 10,2016 01:55 PM UTC ASP.NET MVC 1
Tags: General
Muhammad Tassadaque Zia
Asked On March 9, 2016 10:18 AM UTC

I was experimenting with asp.net mvc controls for our new project. I have observed that bundle size of scripts seems to be big. Is it normal or I am doing some thing wrong
my bundle.config looks like this
public static void RegisterBundles(BundleCollection bundles)
            BundleTable.EnableOptimizations = true;
            //bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
            //            "~/Scripts/jquery-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(

            // Use the development version of Modernizr to develop with and learn from. Then, when you're
            // ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(

            bundles.Add(new ScriptBundle("~/bundles/ejscripts").Include(                       

            bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(

            bundles.Add(new StyleBundle("~/Content/css").Include(
            //bundles.Add(new StyleBundle("~/Content/ej/bootstrap-theme/css").Include(
            //          "~/Content/ej/web/bootstrap-theme/ej.web.all.min.css",
            //          "~/Content/ej/web/responsive-css/ej.responsive.css",
            //          "~/Content/ej/web/responsive-css/ejgrid.responsive.css"
            //          ));

Firebug screenshot is as follows

Kaviyarasu Sivasenapathi [Syncfusion]
Replied On March 10, 2016 01:55 PM UTC

Hi Muhammad, 


Thank you for contacting Syncfusion Support.


Yes, it is possible to reduce the file size of the scripts. We have checked with your code example in that we found that you have used ej.web.all.min.js file which is the combination of all our EJ controls. Instead of using this entire script file, you can use only  the required script and theme files based on the components that you are using in your application. It can be achieved by Custom script generator utility which is in the following online link


Custom script generator


To know more about how to generate the script for the required components, please refer the following getting started link




Please let us know if you have any queries.


Kaviyarasu S


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon