How do I set the region to UK for my date format in a DatePicker control ? Its defaulted to US. Im using MVC helper NOT javascript so i need and example for that. Heres what I have
@(Html.Infragistics().DatePickerFor(model => model.ContractDate) .ID("contractDatePicker") .Width("150px").DateDisplayFormat("dd/MM/yyyy") .DateInputFormat("dd/MM/yyyy") .ButtonType(TextEditorButtonType.Clear) .Regional( --> what goes here for UK date format ?? .Render())
Hello Mark,
To know about datepicker’s regional settings please refer to the online help:
http://help.infragistics.com/Help/Doc/jQuery/2014.1/CLR4.0/html/Using_Infragistics_Loader.html#_Ref322448594
When you look into the document you would find the region option for the UK is 'en-GB (English, United Kingdom)'.
All regional files can be found in folder:
{IG Resources root}/js/modules/i18n/regional/
so in your sample you have to load that file like this:
<script src="../js/modules/i18n/regional/infragistics.ui.regional-en-GB.js"></script>
I have created a sample application for your reference. Please find the attachment and let me know if you need further assistance.
"Im using MVC helper NOT javascript"