Unplanned
Last Updated: 16 Oct 2026 14:50 by ADMIN
const
Created on: 15 Jun 2020 15:28
Category: DateTimePicker
Type: Bug Report
2
Min and Max don't limit the time

I want the user to only be able to select times between, for example, 11AM and 1PM. Setting Min and Max does not limit that, I can select any time:

Selected time: @selectedTime
<br />

<TelerikDateTimePicker Min="@Min" Max="@Max" @bind-Value="@selectedTime"
                       Format="dd MMM yyyy HH:mm" Width="250px"></TelerikDateTimePicker>

@code {
    private DateTime? selectedTime = DateTime.Now;
    public DateTime Min = new DateTime(2020, 6, 11, 10, 15, 0);
    public DateTime Max = new DateTime(2020, 6, 13, 12, 30, 45);
}
2 comments
ADMIN
Dimo
Posted on: 16 Oct 2026 14:50

Hello,

Following a recent review, we've decided to reopen this request.

While it has received limited community interest over the years, we believe it addresses a valid scenario and is worth keeping active. We encourage everyone interested in this request to vote for it.

Regards,
Dimo
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.

ADMIN
Petar Mladenov
Posted on: 06 Jan 2026 15:47

Hi,

This behavior was originally reported over 5 years ago and has not received significant demand or follow-up from the community since then. Considering this and the availability of a workaround, we are unable to prioritize it over more impactful and widely requested improvements. 

If this limitation is still affecting your scenario, please share additional context or use cases. This will help us better assess the severity and reconsider prioritization in the future. 

Still, here is a possible solution with rectricting the hours input in code:

<p>Selected time: @selectedTime</p>
<TelerikDateTimePicker Value="@selectedTime"
                       ValueChanged="@((DateTime? v) => OnValueChanged(v))"
                       Format="dd MMM yyyy HH:mm"
                       Width="250px" />
@code {
    DateTime? selectedTime = DateTime.Today.AddHours(11);
    void OnValueChanged(DateTime? value)
    {
        if (value == null)
            return;
        var time = value.Value.TimeOfDay;
        if (time < TimeSpan.FromHours(11))
        {
            selectedTime = value.Value.Date.AddHours(11);
        }
        else if (time > TimeSpan.FromHours(13))
        {
            selectedTime = value.Value.Date.AddHours(13);
        }
        else
        {
            selectedTime = value;
        }
    }

Regards,
Petar Mladenov
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.