I was trying some of the features of igGrid, and come across an error every time I run the grid with hiding feature on, and I only get it if I use IE7.
The error from IE was "Stop running this script? A script on this page is causing browser to run slowly..." then since I'm in debugging mode, I also got an error from jQuery js file: Microsoft JScript runtime error:Out of stack space.
Is this a known bug? Has anyone had this problem before ? if so, is there a way to fix this issue ?
Hi Martin,
I already did that but it didn't work. However, when I copied your code and created a test page, the grid works. I'm starting to think the culprit might be the MVC helper is not producing correct jQuery script. Is that possible ?
Also, do I have to specify the 'resources' in the igLoader script ? Since I have other grid features turned on, if I just do something like this below it also should work right ?
@(Html.Infragistics() .Loader() .ScriptPath("http://cdn-na.infragistics.com/jquery/20121/2023/js/") .CssPath("http://cdn-na.infragistics.com/jquery/20121/2023/css/") .Render() )
The error that I got from Visual Studio is "Microsoft JScript runtime error: The remote request to fetch data has failed: (parseerror) 'this.settings.paging' is null or not an object"
Below is the code snippet of features that I turned on for my grid:
.Features(features => { features.Updating() .EnableAddRow(false) .EditMode(GridEditMode.None) .ColumnSettings(settings => { settings.ColumnSetting().ColumnKey("ID"); settings.ColumnSetting().ColumnKey("Description"); settings.ColumnSetting().ColumnKey("Status"); settings.ColumnSetting().ColumnKey("EffectiveFrom"); settings.ColumnSetting().ColumnKey("EffectiveTo"); }); features.Paging() .PageSize(5) .PrevPageLabelText("Previous") .NextPageLabelText("Next"); features.Sorting(); features.Selection() .MouseDragSelect(true) .MultipleSelection(true) .Mode(SelectionMode.Row); features.Resizing() .AllowDoubleClickToResize(true); features.RowSelectors() .EnableCheckBoxes(true) .EnableRowNumbering(false);
features.Hiding();
})
Even if I turned off everything except Hiding() and added 'igGrid.Hiding' as a resource in loader, I still get the same error. Am I doing something wrong here ?
Please help, thanks.
Hi Jeffrey Andika,
Apart from referencing the correct version of igLoader you also need to reference the correct scriptPath and cssPath when you initialize it.
Attached you can find sample which shows how to do that.
If you have further questions feel free to ask.
Best regards,
Martin Pavlov
Infragistics, Inc.
Forgot to mention this, I did a compare with my version of the script and actually both of them are exactly the same except the build number.
My version build number is: Infragistics.Web.Loader 12.1.20121.1010
Borislav & Martin,
So, I kept getting error trying to grab the js file from the cdn, so I just copied the script from this URL:
http://cdn-na.infragistics.com/jquery/20121/2023/js/infragistics.loader.js
pasted it to my local infragistics.loader.js file, and I am still getting the same error in IE8.
Is that the correct build ?
Hi Jeffrey,Yes, you can access Service Release build from our CDN (Full details are available in the respective help article: http://help.infragistics.com/NetAdvantage/jQuery/2012.1/CLR4.0?page=Deployment_Guide_Infragistics_Content_Delivery_Network(CDN).html) So the S.R. build for 12.1 is #2023, thus you can reference it using the following URL prefix:http://cdn-na.infragistics.com/jquery/20121/2023 For the 2011.2 volume release, you should use http://cdn-na.infragistics.com/jquery/20112/2132For the 2011.1 volume release, you should use http://cdn-na.infragistics.com/jquery/20111/2118 Hope this helps. PS: Currently we distribute latest builds on demand for subscribed customers only since they are considered exceptions from our release schedule.