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

RadMonthYearPicker Not Working

1 Answer 155 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Jeremy Yoder
Top achievements
Rank 1
Jeremy Yoder asked on 29 Mar 2011, 10:03 PM

I was excited for this new control, but it doesn't seem to work. Our users want to tab into the field and enter a date, thereby avoiding the mouse completely. On a newly placed control, within DateInput, set properties DateFormat and DisplayDateFormat to "MM/yyyy" since we never want to see month spelled out.

Run it, type 11/06 and tab out -- it shows 11/2011, the wrong year.
Now try 5/08 and tab out -- it shows 05/2011, also the wrong year.

This seems very basic, so I'm hoping I'm missing some setting to make it work as one would expect for a MonthYearPicker control.

1 Answer, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 01 Apr 2011, 03:32 PM
Hello Jeremy,

RadMonthYearPicker uses RadDateInput for input. However RadDateInput does not support DateFormat which has the day, month or year parts missing. You should either change the DateFormat in your case, or try the approach illustrated in this code library.

Best wishes,
Iana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Calendar
Asked by
Jeremy Yoder
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question
or