【发布时间】:2017-06-27 00:02:47
【问题描述】:
继续问题Kendo UI datepicker incompatible with Chrome 56,我想在我的项目中将type = "text" 属性设置为KendoUI datepicker 控件的HtmlAttributes。
控件数量较多,无法一一设置。
有没有办法在不使用模板的情况下在项目中全局设置它?我们还没有为 datepicker 使用剑道模板。
@(Html.Kendo().DatePicker()
.Name("datepicker")
.Value("10/10/2011")
.HtmlAttributes(new { type = "text" }))
【问题讨论】:
标签: asp.net-mvc kendo-ui datepicker