Hi
I am facing performance problem when i try to use the infragestic css and js file .
I try to add the reference for css and js file like this.
@(Html.Infragistics().Loader().ScriptPath(Url.Content("~/Scripts/InfragisticsjQueryMVC/common/js/")).CssPath(Url.Content("~/Scripts/InfragisticsjQueryMVC/common/css/")).Theme("metro").Resources("igGrid").Resources("igCombo").Render())
so that both css and js file loading at same time . but i want to load all the css file before loading the js file.
when i run the Google Audit i am getting the following output
Is it Possible to implement this scenario , please let me know.
Thanks
Hello shanikohan,
Please note that the Chrome developer tool audit gives only a momentary or static overview of the CSS usage on the page. In the IgniteUI widgets, css rules are dynamically applied based on user actions in order to ensure interactivity. The scripts which show as unused in this scenario would be used based on user interactions - for instance the editor CSS rules would be applied as the grid enters edit mode. This can be observed by running audits on the online samples as well. For instance running the audit on the following sample while the grid is in its normal state vs edit mode will return different unused rules results:
http://igniteui.com/grid/basic-editing
Hope this helps. Please feel free to contact me if you need more information.