Migrating the Calendar Extension

To migrate the Telerik UI Calendar Extension for ASP.NET MVC to Telerik UI for ASP.NET MVC, use the available and updated API.

  • The following example demonstrates the change when working with the events.

    
        Html.Telerik().Calendar().Name("Calendar").ClientEvents( events => events.OnChange(“change”))
    
    
        Html.Kendo().Calendar().Name("Calendar").Events( events => events.Change(“change”))
    
  • The following example demonstrates the change when setting the min date.

    
        Html.Telerik().Calendar().Name("Calendar").MinDate(DateTime.Now)
    
    
        Html.Telerik().Calendar().Name("Calendar").MaxDate(DateTime.Now)
    
  • The following example demonstrates the change when setting the max date.

    
        Html.Kendo().Calendar().Name("Calendar").Min(DateTime.Now)
    
    
        Html.Kendo().Calendar().Name("Calendar").Max(DateTime.Now)
    
  • The following example demonstrates the change when setting the footer.

    
        Html.Telerik().Calendar().Name("Calendar").TodayButton(“d”)</code></td>
    
    
        Html.Kendo().Calendar().Name("Calendar").Footer(“#= kendo.toString(data, ‘MM/dd/yyyy’)”)
    

See Also

In this article
Not finding the help you need? Improve this article