can i get null date ? if i do not enter any date from datepicker. I want to show date control blank and if user do not enter or select any date then it return null.I am using Kendo Ui.
Asked
Active
Viewed 1,208 times
0
-
Are you binding datepicker control to textbox?? – Milind Anantwar Nov 20 '13 at 07:13
-
No.I do not use textbox. – Akil M Belim Nov 20 '13 at 07:15
-
can you create fiddle for same?? – Milind Anantwar Nov 20 '13 at 07:19
-
Yes i create field for that. – Akil M Belim Nov 20 '13 at 10:28
1 Answers
0
You can simply check for value of field to which you have bind the datepicker.
If its empty then return null else return its value as date.

Milind Anantwar
- 81,290
- 25
- 94
- 125