Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
605
infragistics.loader.js to load igDatePicker regional file failed
posted

I use infragistics.loader.js to load igDatePicker, and set the regional to zh-CN. But the tips always show in English.

==code ===

<script type="text/javascript">
$.ig.loader({
scriptPath: '../../Scripts/',
cssPath: '../../Content/',
resources: 'igEditors',
regional: 'zh-CN'
});

$.ig.loader(function () {
$('#datepicker1').igDatePicker({
width: 230,
dateInputFormat: 'yyyy/MM/dd hh:mm',
dateTimePattern: "yyyy/MM/dd hh:mm",
regional: 'zh-CN'
});
});
</script>

===========================

I've add a new file named infragistics.ui.editors-zh-CN.js in folder  \Scripts\modules\i18n\infragistics.ui.editors-zh-CN.js.

I used Chrome to trace the request, I found this file not been loaded.

Parents
No Data
Reply Children
No Data