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?
Bump.
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().
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
The links provided do not provide information on pre-generating the CSS. Is there an article or sample that discusses how to do this?
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
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?
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