This question is locked. New answers and comments are not allowed.
Hi,
I have a DatePicker
That I first bind the value to my ViewModel --> "o.StartDateCalendar".
I would like to modify my model attribute when I change the selected date of my calendar.
Is there a way to do that?
Thank you!
I have a DatePicker
<%= Html.EditorFor(m => m.StartDateCalendar) %>
<%= Html.Telerik().DatePickerFor(o => o.StartDateCalendar)
.Value(Model.StartDateCalendar)
.TodayButton("d")
%>
That I first bind the value to my ViewModel --> "o.StartDateCalendar".
[DataType(DataType.Date)]
public
DateTime? StartDateCalendar {
get
;
set
; }
I would like to modify my model attribute when I change the selected date of my calendar.
Is there a way to do that?
Thank you!