This is a migrated thread and some comments may be shown as answers.

Unable to enter date in month/year format without separator

1 Answer 15 Views
DateTimePicker
This is a migrated thread and some comments may be shown as answers.
Blessy Antony
Top achievements
Rank 1
Blessy Antony asked on 05 Dec 2013, 01:06 PM
Hello, 

We're using the Telerik Controls for Silverlight version: 2013.3.1104.1050.
We're using RadDateTimePicker control to accept value in Month/Year format (MM/yyyy).
We achieved this by setting the following properties:
this.InputMode = Telerik.Windows.Controls.InputMode.DatePicker;
this.DisplayFormat = DateTimePickerFormat.Short;
this.Culture = new System.Globalization.CultureInfo("en-US");
this.Culture.DateTimeFormat.ShortDatePattern = "MM/yyyy";
this.DateSelectionMode = Telerik.Windows.Controls.Calendar.DateSelectionMode.Month;

Earlier version of telerik controls we used, used to accept the following values "05/2013" & also "052013"
With the latest telerik update, when user enters "052013", it raises an ArgumentOutOfRangeException, Message: ArgumentOutOfRange_IndexLength.
Could you please let us know if this has been resolved or when is this expected to get resolved or a work around for this?

Thanks,
Blessy.

1 Answer, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 06 Dec 2013, 03:22 PM
Hi Blessy,

We are aware of the explained issue and it has already been fixed in the latest (2013 Q3 SP1) version of the controls. So my suggestion is to upgrade to the latest release if possible.

Hope this is helpful. If you have any further questions please let us know.

Regards,
Kalin
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
DateTimePicker
Asked by
Blessy Antony
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Share this question
or