Here is how my code looks on a MVC app.
<body>
@Html.Kendo().Calendar().Name(
"calendarstart"
).Value(DateTime.Now)
<button id=
"save"
>Set date</button>
<script>
$(document).ready(
function
() {
$(
"#save"
).click(
function
() {
var
startDate = $(
"#calendarstart"
).data(
"kendoCalendar"
);
$.post(
"/Home/Index"
, { StartDate: startDate.value() });
});
});
</script>
</body>
The issue i see is that their is no tight binding like what you have on MVC view model binding.
Jay