Dear Infragistics,
We have for instance infragistics.js file which is 2.5 MB. I'm trying to find infragistics.min.js so I can deploy a much smaller file. Our customers are experiencing delays. But I can't find the minimized files. Where are they or how can I get them?
Thank you for answering.
Hello DannyvdK,
Please feel free to contact me if you are still experiencing any issues with this matter.
Thank you for your reply.
I would suggest trying this without the "~/" in the beginning of the path. In addition to that please bear in mind that if the js folder is in the IG folder (rather than the files from js being copied over to IG) it would need to be in the path as well.
Hope this helps. Please do not hesitate to contact me if you continue to experience any issues.
Quick update. This works:
.ScriptPath("http://cdn-na.infragistics.com/jquery/20121/latest/js/")
And this doesn't:
.ScriptPath("~/Scripts/IG/")
Trying to find out, why....
Hello Petar Ivanov,
Thank you for the sample, that is great.
Unfortunatly I just can't get my grid (Html.Infragistics().Grid(Model)) to work. I've looked at the page via the developer console of Firefox and it seems the loader is not loading the scripts that the infragistics grid needs. I've come to this conclusion by looking at the Network tab and see that the last js file that is loaded is the infragistics.loader.js. Then I looked via the Inspector tab at the page and I see:
$.ig.loader('igHierarchicalGrid.Paging.Sorting.Selection', function() {$('#grid1').igHierarchicalGrid({... and so on.
It just seems to me that igHierarchicalGrid.Paging.Sorting.Selection is not enough. Because when I load the scripts I have the following statements in my layout.cshtml:
<script src="@Url.Content("~/Scripts/IG/infragistics.ui.grid-nl.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/IG/infragistics.ui.editors-nl.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/IG/infragistics.js")" type="text/javascript"></script>
The code for the loader looks like this by the way:
@(Html.Infragistics() .Loader() .ScriptPath("~/Scripts/IG/") .Render())
As you can see I'm not loading CSS via the loader but via the layout.cshtml like I did before.
What am I doing wrong??
Hi DannyvdK,
I am attaching a 12.1 Razor MVC3 sample of using the loader. Hope this helps.
Please do not hesitate to contact me if you continue to experience any issues.