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.

Pregenerating CSS/JS files

Thread ID:

Created:

Updated:

Platform:

Replies:

106192 Dec 14,2012 02:26 PM Apr 12,2013 01:05 AM ASP.NET MVC (Classic) 6
loading
Tags: Tools
Tony Basallo
Asked On December 14, 2012 02:26 PM

Is it possible to have the CSS and JS files generated without the style/script managers?

I am interested in using SASS for the CSS and also to embed by resources in a DLL that will be accessed by web app. Using the Syncfusion managers is not ideal. I routinely minimize and combine my files so that they only have to be referenced once (and browser cached) by my app.

I realize I can pull them from a working site with all the required components and start there. Would I run into any issues (especially on the js side) if I went this route?


Tony Basallo
Replied On December 17, 2012 09:11 AM

Bump.


Meena [Syncfusion]
Replied On December 19, 2012 07:25 AM

Hi Tony,

 

Thanks for contacting Syncfusion forums.

 

Yes, it is possible to generate the CSS of our controls without StyleManager(), but it is not possible to generate the scripts with ScriptManager(). The script files will be loaded only after we rendered the ScriptManager() in our application.

 

Please refer the below online UG link for more details on StyleManager() and ScriptManager().

 

StyleManager: http://help.syncfusion.com/UG/User%20Interface/ASP.NET%20MVC/Common%20MVC/default.htm#!documents/addingstylemanagertoanapplication.htm

 

ScriptManager: http://help.syncfusion.com/UG/User%20Interface/ASP.NET%20MVC/Common%20MVC/default.htm#!documents/addingscriptmanagertoanapplication.htm

 

Please let us know if you have any other concerns.

 

Regards,

Meena


Tony Basallo
Replied On January 18, 2013 02:12 PM

The links provided do not provide information on pre-generating the CSS. Is there an article or sample that discusses how to do this?


Meena [Syncfusion]
Replied On January 22, 2013 07:58 AM

Hi Tony,

 

Thanks for the update.

 

We had introduced a new assembly called “Syncfusion.Theme.Base” in our Vol3, 2012 release (v10.3.0.43) for rich theming support. This “Syncfusion.Theme.Base” dll would load all css required for the control before the control gets loaded. “Syncfusion.Theme.Base” dll needs to be in GAC for pregenerating the css. If the dll is not in GAC, we need to add  the assembly in application reference and web.config manually.

 

We have not yet added documentation about this assembly and its concepts. We will update our online documentation with this in our upcoming releases.

 

Please let us know if you have any other concerns.

 

Regards,

Meena


Tony Basallo
Replied On April 7, 2013 02:57 PM

I really require a way to pre-generate the CSS. Due to the way you load CSS file, it is increasingly difficult to override your CSS and to integrate with other items in my suite.

At this point I will be forced to copy your CSS from an executed page and use that as my base - that doesn't make a lot of sense and creates more work for me - your customer.

So, how can I get all the required CSS for whatever controls I want so that I can manage them on my own?


Meena [Syncfusion]
Replied On April 12, 2013 01:05 AM

Hi Tony,

 

Sorry for the delay in getting back to you.

 

Your requirement of obtaining the css of Syncfusion controls which you are using in your application can be achieved using our Theme Studio concept. We had introduced a new concept called “Theme Studio” in our latest release, for customizing the css and downloading the css files of various controls dynamically. Please refer the below online Theme Studio link.

 

http://mvc.syncfusion.com/ThemeStudio/

 

Here you have option for customizing the css of all controls dynamically and option for downloading the css files.

 

Kindly have a look at the above link and let us know if this would meet 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.

;