Completed
Last Updated: 17 Feb 2025 13:42 by ADMIN
Release 2025 Q1 Licensing Hotfix (18.02.2025)
Joel Kraft
Created on: 14 Apr 2022 10:54
Category: DateRangePicker
Type: Bug Report
2
Client Error When Setting MinDate or MaxDate

Error thrown:
Uncaught Sys.InvalidOperationException: Sys.InvalidOperationException: 'maxDate' is not a property or an existing field.

Setup for reproduction:

<asp:ScriptManager runat="server" ID="ScriptManager1"></asp:ScriptManager>

<telerik:RadDateRangePicker runat="server" ID="RadDateRangePicker1"
MinDate="2022-05-01" MaxDate="2022-05-01">
</telerik:RadDateRangePicker>

3 comments
ADMIN
Attila Antal
Posted on: 17 Feb 2025 13:42

Hi Joel,

We apologize for the inconvenience, our road map was fully booked with other tasks, however, we have good news. We looked into it this time and found a fix. Since we are going to release a new version later today or tomorrow, this fix will also be included.

Regards,
Attila Antal
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Telerik family, check out our getting started resources
Joel Kraft
Posted on: 07 Feb 2025 19:27
Almost three years later and this hasn't been fixed. :-(
ADMIN
Doncho
Posted on: 14 Apr 2022 11:00

As a workaround, you can use the relevant properties of the embedded Calendar and DatePickers to set the Min and Max allowed dates for the RadDateRangePicker:

<telerik:RadDateRangePicker runat="server" ID="RadDateRangePicker1">
    <Calendar RangeMinDate="2022-05-01" RangeMaxDate="2022-08-01"></Calendar>
    <StartDatePicker MinDate="2022-05-01"></StartDatePicker>
    <EndDatePicker MaxDate="2022-08-01"></EndDatePicker>
</telerik:RadDateRangePicker>

Regards,
Doncho
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.