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
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
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)