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

How to prevent user input in DateTimePicker?

1 Answer 65 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
Jianxun
Top achievements
Rank 1
Jianxun asked on 16 Apr 2014, 01:13 PM
I want to prevent user from type in words in DateTimePicker, only allow they to pick up a time through the pop up time panel. 

I have a workaround: set the input to 'readonly' after kendoui initilization.   However, it has a shortcoming:  it shows a forbidden icon when mouse hover on dateTimePicker,  this will confuse the customer.

Anyone can tell me how to prevent user input, while not throwing a disabled icon?

1 Answer, 1 is accepted

Sort by
0
Jianxun
Top achievements
Rank 1
answered on 16 Apr 2014, 01:32 PM
I would like to close this question. Because I found the icon was not due to KendoUi. I am trying to figure out how this icon come out.
Tags
Date/Time Pickers
Asked by
Jianxun
Top achievements
Rank 1
Answers by
Jianxun
Top achievements
Rank 1
Share this question
or