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

Date not valid on iPad

0 Answers 96 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
Shawn
Top achievements
Rank 2
Shawn asked on 01 Jul 2012, 03:21 PM
I am using a MVC DatePicker control defined as follows in my Date editor template:
Html.Kendo().DatePicker()
            .Name(ViewData.TemplateInfo.GetFullHtmlFieldName(""))
            .Min(new DateTime(2000, 1, 1))
            .Max(new DateTime(9999, 12, 31))
            .Value((DateTime)ViewData.TemplateInfo.FormattedModelValue)

It is working fine in all PC-based browsers.  However, when using Safari on the iPad it works a bit differently.  Firstly, when clicking the little calendar icon next to the date field calendar, no calendar pops up.  Instead, when I click in the date field, the iPad "slot-machine" spinner control comes up whereby one can select a date.  This is cool and I actually like that.  However, no matter what date I select using this spinner control, the validation kicks in saying "Please enter a valid date".  I've even tried altering the format with the .Format statement in my date picker.  Whatever new format I define does apply correctly (once again, confirmed by using any pc-based browser), but still no luck in getting a valid date set in my iPad.  Please help.

EDIT: In the Q2-2012 release of KendoUI, the control now displays the calendar pop up when clicking the little calendar icon next to the date field.  However, this calendar popup does not respond to any touch events at all.

No answers yet. Maybe you can help?

Tags
Date/Time Pickers
Asked by
Shawn
Top achievements
Rank 2
Share this question
or