I have DatePicker in mvc2 form and want to send it value to a controller. However there is no databinding for DatePicker, and I can not bind a function in databinding.select. How to send its value to a controller after clicking submit button? Thanks. The code is,
Html.Telerik().DatePicker()
.Name("DatePicker")
.HtmlAttributes(new { style = "font-size:8pt;width:100px" })
.ShowButton(true)
You can get value from telerik datepicker with:
Also datepicker have an input with id which value equal your datepicker control name so you should use it in controller method.