Telerik Extensions for ASP.NET MVC

Version Q1 2012, released 04/19/2012

Edit Template

Order information

  • Open the time view
  • Open the calendar
  • Open the calendarOpen the time view

About this example ASPXRazor

This example shows how Telerik DatePicker for ASP.NET MVC can be used to edit Model property.

To use specific editor template, you should first decorate the edited property of your Model with System.ComponentModel.DataAnnotations.DateType attribute:

    [DataType(DataType.Date)]
    public DateTime DeliveryDate
    { 
        get; 
        set; 
    }

You can review OrderInfo.cs file for more information.

The next step is to create user control, which will be used to edit the Model property. In this demo Date.ascx is used to edit the DeliveryDate property.

Get more than expected!

Take the Telerik Extensions for ASP.NET MVC to your Visual Studio projects to truly experience their power. Download your free copy now and jumpstart your development with the available learning resources.

The Extensions are offered in both open source and commercial versions the differences between which are well explained in the licensing FAQ.

If you have any questions, do not hesitate to contact us at sales@telerik.com.

Other Demos: