다음을 Name()
사용할 때를 설정하면 안됩니다 TimePickerFor
.
@(Html.Kendo().TimePickerFor(m=>m).Interval(15))
-------------------** * * 편집기 템플릿 * ** * ***
@model DateTime?
@(Html.Kendo().DatePicker()
.Name("TimeRequired") //name should be same as property
.Value(Model == null ? DateTime.Now.Date : ((DateTime)@Model).Date)
)
** * ** * ** * ** * *** 그리드 * ** * ** *
// will print the date in "28/01/2014" style...
columns.Bound(p=>p.TimeRequired).EditorTemplateName("GridTimePicker").Title("Time")
.ClientTemplate("#= kendo.toString(TimeRequired,'d') #")
문안 인사
Shaz
출처
https://stackoverflow.com/questions/22089821