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

Razor
 
              @(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

Razor
 
              @(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

Razor
 
              @(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

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