New to Telerik UI for ASP.NET MVC? Download free 30-day trial

DateRangePickerRangeSettingsBuilder

Methods

Start(System.DateTime)

This sets the start date of the range selection.

Parameters

value - System.DateTime

The value that configures the start.

Example


              @(Html.Kendo().DateRangePicker()
                        .Name("DateRangePicker")
                        .Range(r => r.Start(DateTime.Now))
              )

End(System.DateTime)

This sets the end date of the range selection.

Parameters

value - System.DateTime

The value that configures the end.

Example


              @(Html.Kendo().DateRangePicker()
                        .Name("DateRangePicker")
                        .Range(r => r.End(DateTime.Now))
              )

Start(System.Nullable)

This sets the start date of the range selection.

Parameters

value - System.Nullable<DateTime>

The value that configures the start.

Example


              @(Html.Kendo().DateRangePicker()
                        .Name("DateRangePicker")
                        .Range(r => r.Start(DateTime.Now))
              )

End(System.Nullable)

This sets the end date of the range selection.

Parameters

value - System.Nullable<DateTime>

The value that configures the end.

Example


              @(Html.Kendo().DateRangePicker()
                        .Name("DateRangePicker")
                        .Range(r => r.End(DateTime.Now))
              )

In this article
Not finding the help you need?