Blazor DatePicker open on with a minimum date in the future

2 Answers 21 Views
DatePicker
Quentin
Top achievements
Rank 1
Iron
Quentin asked on 22 Aug 2025, 10:56 AM

Hi,

 

Is there a way to open a date picker component targeting the month of a future minimum date ?

For example, I have a minimum date in 3 months. When I open the date picker, the popup is focus on today. When I change the month or click on 'Today', the focus goes on the month of this future date as expected.

I would like to have this behavior when opening the popup.

I tried to use the NavigateTo() with the OnOpen() event but no luck.

REPL example : https://blazorrepl.telerik.com/cJYCGmlk51WrceTj48

 

Thanks in advance

2 Answers, 1 is accepted

Sort by
0
Tsvetomir
Telerik team
answered on 27 Aug 2025, 08:43 AM

Hi Quentin,

Thank you for the provided REPL and information about the desired behavior.

Generally, the NavigateTo() method is to be used when the pop-up of the DatePicker is already opened. This specifically prevents you from achieving the result you are looking for. With the current functionality of the component, there is no built-in way to achieve the desired result.

With the above in mind, I have created a public feature request item on your behalf: Add the ability to set a preview Date. As a creator of the item, you are automatically subscribed to receive email notifications for any status updates.

For the time being, a possible alternative to achieve the result you are looking for is with a more custom approach using multiple components. For reference, such an approach is shown in our KB article: Use Calendar Templates in a DatePicker. In short, the approach creates a custom DatePicker component using the AnimationContainer component and Calendar component. Such an approach gives the flexibility to set the Date parameter of the Calendar component, which will navigate automatically to the required view.

I hope you find well the provided information.

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

0
Quentin
Top achievements
Rank 1
Iron
answered on 27 Aug 2025, 12:57 PM

Hello,

Thanks for all the information.

Since I need this feature for multiple Date Picker, I'll wait this feature.

 

Kind regards,

Quentin

Tags
DatePicker
Asked by
Quentin
Top achievements
Rank 1
Iron
Answers by
Tsvetomir
Telerik team
Quentin
Top achievements
Rank 1
Iron
Share this question
or