Hi,
I'm using RadDateTimePicker with InputMode="DatePicker".
I need to set custom date format (MMddyyyy):
But when enter something in this format (e.g. 10282010), the control doesn't treat it as a valid date.
Is there any way how to deal with this issue?
I'm using RadDateTimePicker with InputMode="DatePicker".
I need to set custom date format (MMddyyyy):
datePicker.Culture =
new
CultureInfo(
"en-US"
)
{
DateTimeFormat =
new
DateTimeFormatInfo
{
ShortDatePattern =
"MMddyyyy"
,
}
};
datePicker.DisplayFormat = DateTimePickerFormat.Short;
But when enter something in this format (e.g. 10282010), the control doesn't treat it as a valid date.
Is there any way how to deal with this issue?