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

How to resolve css issue with EnableOptimzation in bundle config

This knowledge base explains how to resolve the CSS issue with EnableOptimization in bundle config.


1. We can achieve this requirement by referring the ej.web.all.min.css file in the BundleConfig when we set the “EnableOptimizations” as true and the file (ej.web.all.min.css) should be added as a separate bundle by applying a CssRewriteUrlTransformation. This will import the CSS file from the individual files.




2. If you are not enable “EnableOptimizations” then we suggest you refer “ej.widgets.core.min.css” & “ej.theme.min.css” individual files instead of “ej.web.all.min.css”. Because ej.web.all.min.css” files have been imported from two other css files “ej.wigets.core.min.css” and “ej.theme.min.css”.





  1. Please refer this link for more detail regarding CssRewriteUrlTransformation (404 With Relative Paths and the Web Optimization Framework) 
  2. The ej.web.all.min.css file contains ej.theme.min.css and ej.widgets.core.min.css. So, include either ej.web.all.min.css (should be in separate bundle) or include ej.theme.min.css andej.widgets.core.min.css files separately. Set the EnableOptimization as true when refer theej.web.all.min.css file or else remove it. 



Figure 1: Grid Rendering with CSS files referred in bundle config.


Article ID: Published Date: Last Revised Date: Platform: Control:
9063 07/30/2018 07/30/2018 ASP.NET MVC Grid
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Please sign in to access our KB

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