Pending Review
Last Updated: 12 Feb 2020 15:32 by ADMIN

Dear Kendo Support Team,

We use kendo jQuery DateRangePicker component, and would like to achive the following:

  • If we open the range picker by clicking the range begin value input, we would like to change the beginning of the range.
  • If we open it by clicking the end value input, we would like to change the end of the range.

Actually the control always changes the date range start value no matter which input is used.
Is it possible to achive the above described behavior?

Regards,
Peter

Unplanned
Last Updated: 12 Feb 2020 15:24 by ADMIN
Created by: Softwarehouse
Comments: 5
Category: DateRangePicker
Type: Feature Request
1

Dear Kendo Support Team,

When we use DateRangePicker, we would like to show empty inputs, if the values aren't set. (They're filled with date format placeholder by default.)
Is there any solution to hide the placeholder text?

Regards,
Peter

Unplanned
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.

Unplanned
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);
    });
Unplanned
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.

Unplanned
Last Updated: 24 Jan 2020 10:11 by ADMIN
Created by: Anders Mad.
Comments: 3
Category: DateRangePicker
Type: Feature Request
1
Like the DatePicker - let the DateRangePicker use pre-existing inputs instead of it creating the input markup it itself. Via options or just use the 2 inputs inside a container as the code does right now (`that._endInput = that.wrapper.find('input').eq(1);`).