Approved
Last Updated: 12 Nov 2019 09:27 by ADMIN

Hi,

I am experiencing problems with the k-ng-model binding on the DateRangePicker.

I made a Dojo example. Scenario and working / not working example included.

See: https://dojo.telerik.com/ehoteXOw/2

Pending Review
Last Updated: 12 Nov 2019 09:17 by ADMIN
Created by: Maikel
Comments: 1
Category: DateRangePicker
Type: Bug Report
2

Hi,

I've implemented the DateRangePicker in our software and I noticed that the selection of the DateRangePicker has a slide different behavior to the Angular DateRangePicker.
This behavior is also reproducible in the demo website.

Scenario:
Select a range. Alter range to the new values. First, update '03-11-2019' -> '04-11-2019'. Second, update '09-11-2019' -> ''

First selection:
Start date: 03-11-2019
End date: 09-11-2019

Now I want to update this range to:

Expectation:
Start date: 04-11-2019
End date: 16-11-2019

Result:
Start date: 16-11-2019
End date: null
When I select the start date, it's updated as expected (04-11-2019) but selecting the new end date (16-11-2019), sets the a new start date instead of the end date. As described by the result values.

Approved
Last Updated: 23 Aug 2019 07:41 by ADMIN
Created by: Umair
Comments: 0
Category: DateRangePicker
Type: Bug Report
1

### Bug report

### Reproduction of the problem
_(bug report only)_
When start and depth are configured on a DateRangePicker, users are unable to select а range.

Dojo: https://dojo.telerik.com/oWUPosiP


### Expected/desired behavior
The expected is users to be able to select range as it is currently in DatePicker.

Dojo: https://dojo.telerik.com/oKIyeLEJ


Approved
Last Updated: 07 Jun 2019 08:00 by ADMIN
Created by: Nicolas
Comments: 1
Category: DateRangePicker
Type: Feature Request
0

Assuming the DateRangePicker as a date range set already like this by the model

@(Html.Kendo().DateRangePicker()
                            .Name("daterangepicker")
                            .Min(DateTime.UtcNow.AddYears(-25))
                            .Max(DateTime.UtcNow.AddYears(25))
                            .HtmlAttributes(new { style = "width: 100%", title = "Event's Date" })
                            .Range(r => r.Start(Model.StartDate).End(Model.EndDate))
                            .Events(e => e.Change("onChange"))
                        )

 

@Html.HiddenFor(model => model.StartDate

@Html.HiddenFor(model => model.EndDate)

<script>

function onChange() {
        var range = this.range();
        if (range.start && range.end) {
            $("#StartDate").val(kendo.toString(range.start, 'd'));
            $("#EndDate").val(kendo.toString(range.end, 'd'));
            //$("#StartDate").val(range.start);
            //$("#EndDate").val(range.end);
            $("#StartDate").trigger("change");
            $("#EndDate").trigger("change");
        }
    }

</script>

When opening the dataview to change the selection (range) it should open at the set range instead of today's date which might be years apart. We shouldn't have to create a script which BTW is not opening the dataview_current on theproper date either.

$(document).ready(function () {
        $("#daterangepicker").data("kendoDateRangePicker").dateView._current = new Date(@Model.StartDate.Year, @Model.StartDate.Month,@Model.StartDate.Day);
    });
Approved
Last Updated: 05 Jun 2019 08:29 by ADMIN
Created by: Nicolas
Comments: 0
Category: DateRangePicker
Type: Feature Request
0

When a range is pre-selected in the DateRangePicker the popup will open todays date view by default. 

Include an option that enables navigating to the selected range initially.

Approved
Last Updated: 10 Apr 2019 07:19 by ADMIN
Created by: Tony
Comments: 3
Category: DateRangePicker
Type: Feature Request
0

I am trying to configure the new DateRangePicker to chose ranges of months.  I tried the dojo in this reference document, but the dojo does not work.  I select the Month, but nothing happens.  https://docs.telerik.com/kendo-ui/api/javascript/ui/daterangepicker/configuration/depth

I want the result to show April 2019 to April 2019.  The control should return 4/1/2019 and 4/30/2019, if possible.