New to Telerik UI for Blazor? Download Free 30-day trial

DateTimePicker - Incremental Steps

Open the popup to see how the time tumblers show every n-th item as per the DateTimePickerSteps tag settings. Also, focus the input and use the Up and Down arrows to change the selected date and time. They change with the increment steps defined in the code, not by the default 1.
Steps: Year: 2, Month: 3, Day: 5 Hour: 7, Minute: 15, Second: 30
  • Incremental-steps.razor
Loading the demo source code...please wait.

Description

The Blazor Date Time Picker component renders lists with the time of day (hours, minutes, seconds) in its popup. You can control whether to see every one of them, or to skip some so the lists are shorter. You can define that through its child DateTimePickerSteps tag.

The component also lets you change the value of each date segment with the keyboard - you can either type, or use the Up and Down arrows. When you use the arrows, the value changes with 1 by default. It will take into account the settings from the DateTimePickerSteps tag.

Support & Learning Resources

An error has occurred. This application may no longer respond until reloaded.
Reload