Hello,
My script references start erroring across the board whenever I add a date selected client-side event handler in the callback, as in:
My script references start erroring across the board whenever I add a date selected client-side event handler in the callback, as in:
<%= Html.RenderRadDatePicker((rad) =>
{
rad.ID = "StartDate";
rad.SelectedDate = DateTime.Today;
//rad.ClientEvents.OnDateSelected = "StartDate_DateSelected";
}, "Forest") %>
<%= Html.RenderRadTimePicker((rad) =>
{
rad.ID = "StartTime";
rad.SelectedDate = DateTime.Now.RoundHoursUp(1);
//rad.ClientEvents.OnDateSelected = "StartTime_DateSelected";
}, "Forest") %>
WHen the event handlers (with comment // removed of course), the page goes crazy with errors. What is the cause of this? Missing a script definition?
Thanks.