However, I am not able to save the modified date on the datepicker. It is not getting the value.
Should I add more code?
<P>
<%= Html.Telerik().DatePicker()
.Name("selectedDate")
.Value(Model.empExperience.START_DT)
.MinDate(new DateTime(1990, 1, 1))
%>
</P>
2 Answers, 1 is accepted
0
Georgi Krustev
Telerik team
answered on 09 Sep 2010, 04:46 PM
Hello Won,
You need to name DatePicker as the name of the property, which you change. In other words, if you need to update START_DT property, you need to name datepicker UI component like so:
Name("empExperience.START_DT")
You can also use Html.Telerik().DatePickerFor(m => m.empExperience.START_DT). In this case you should not call Name() method.
Sincerely yours,
Georgi Krustev
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items