Any ideas on what could be causing this random JavaScript error? I'm using 12.2.20122.1021 and jQuery 1.8.3.
Unhandled exception at line 18, column 85 in http://localhost:3000/scripts/modules/infragistics.ui.grid.sorting.js
0x800a138f - Microsoft JScript runtime error: Unable to get value of the property 'locale': object is null or undefined
Even with the locale and regional properties set on the loader, I still get these errors occasionally:
Unhandled exception at line 19, column 85 in http://localhost:3000/scripts/modules/infragistics.ui.grid.filtering.js
I just found references to the locale and regional properties. I'll try that for a while and see if I encounter any more of the random errors.
$.ig.loader({ scriptPath: "/scripts/", cssPath: "/content/", theme: "bmt-ui", resources: "igGrid.Sorting,igGrid.Paging,igGrid.Filtering,igGrid.Hiding,igGrid.Resizing", locale: "en", regional: "en" });
I'm using the loader like this:
$.ig.loader({ scriptPath: "/scripts/", cssPath: "/content/", theme: "bmt-ui", resources: "igGrid.Sorting,igGrid.Paging,igGrid.Filtering,igGrid.Hiding,igGrid.Resizing" });
Am I missing anything, or is there a way to tell it which locale to use? (en)
Hi Dirk,
if you are adding references manually, without using the script loader, you need to also include localization files first, for example:
<script type="text/javascript" src="http://localhost/ig_ui13.1/js/modules/i18n/infragistics.dataSource-en.js"></script> <script type="text/javascript" src="http://localhost/ig_ui13.1/js/modules/i18n/infragistics.ui.grid-en.js"></script>
Hope it helps. Thanks,
Angel