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

DateRangePickerRangeSettingsBuilder

Methods

Start(System.Nullable)

Sets the start date of the range selection.

Parameters

value - System.Nullable<DateTime>

Example


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

Start(System.DateOnly)

Sets the start date of the range selection.

Parameters

value - System.DateOnly

Example


              @(Html.Kendo().DateRangePicker()
                        .Name("DateRangePicker")
                        .Range(range => range.Start(new DateOnly()))
              )

Start(System.Nullable)

Sets the start date of the range selection.

Parameters

value - System.Nullable<DateOnly>

Example


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

End(System.Nullable)

Sets the end date of the range selection.

Parameters

value - System.Nullable<DateTime>

Example


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

End(System.DateOnly)

Sets the end date of the range selection.

Parameters

value - System.DateOnly

Example


              @(Html.Kendo().DateRangePicker()
                        .Name("DateRangePicker")
                        .Range(range => range.End(new DateOnly()))
              )

End(System.Nullable)

Sets the end date of the range selection.

Parameters

value - System.Nullable<DateOnly>

Example


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

Start(System.DateTime)

This sets the start date of the range selection.

Parameters

value - System.DateTime

The value for Start

End(System.DateTime)

This sets the end date of the range selection.

Parameters

value - System.DateTime

The value for End

In this article
Not finding the help you need?