@(Html.Kendo().DatePickerFor(m => m.BillDate))
解决方法:加上type="text"就能正常显示了。
@(Html.Kendo().DatePickerFor(m => m.BillDate).HtmlAttributes(new { type = "text" }))
原解决方法出处:https://www.telerik.com/forums/datepicker-and-currencytextbox-stopped-working-in-chrome-56
Telerik论坛管理员回答内容如下:
Hello Aljosa,
Thank you for sharing this approach.
If updating is not an option we can also recommend setting the HTML attributes like this:
@(Html.Kendo().DatePickerFor(m => m)
.HtmlAttributes(
new
{ type =
"text"
}))
Regards,
Stefan
Telerik by Progress