Вопрос

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.

Это было полезно?

Решение

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top