Edit this page

Calendar Migration

This article demonstrates the ASP.NET MVC server-side API for the Kendo UI Calendar widget.

Server-Side API

Events


    Html.Telerik().Calendar().Name("Calendar").ClientEvents( events => events.OnChange(“change”))

    Html.Kendo().Calendar().Name("Calendar").Events( events => events.Change(“change”))

Min Date


    Html.Telerik().Calendar().Name("Calendar").MinDate(DateTime.Now)

    Html.Telerik().Calendar().Name("Calendar").MaxDate(DateTime.Now)

Max Date


    Html.Kendo().Calendar().Name("Calendar").Min(DateTime.Now)

    Html.Kendo().Calendar().Name("Calendar").Max(DateTime.Now)

    Html.Telerik().Calendar().Name("Calendar").TodayButton(“d”)</code></td>

    Html.Kendo().Calendar().Name("Calendar").Footer(“#= kendo.toString(data, ‘MM/dd/yyyy’)”)

See Also

To see the articles on migrating Kendo UI controls from Telerik Extensions, browse the Widgets folder.