This question is locked. New answers and comments are not allowed.
Hi,
I try to take the date of datepicker from javascript code. But it returns as 'undefined'.
<%= Html.Telerik().DatePicker()
.Name("MinDate")
.Value(new DateTime(2010,07,19)) .ClientEvents( events => events
.OnLoad("func"))
%>
<script type="text/javascript">
function func(e) {
alert(e.date);
}
</script>
What do you think about that?
I try to take the date of datepicker from javascript code. But it returns as 'undefined'.
<%= Html.Telerik().DatePicker()
.Name("MinDate")
.Value(new DateTime(2010,07,19)) .ClientEvents( events => events
.OnLoad("func"))
%>
<script type="text/javascript">
function func(e) {
alert(e.date);
}
</script>
What do you think about that?