I have this code. I thought that it would give an ID to the DatePicker. However, after much debugging, it turns out it changes the name of the parameter which is used on the post. So the Model Binding was no longer working.
Is this a bug? I thought that the Name property specified an ID for a control.
Is this a bug? I thought that the Name property specified an ID for a control.
@(Html.Kendo().DatePickerFor(m => Model.SearchInfo.StartDate).Name("start-date")