Radzen Blazor Components


Demonstration and configuration of the Radzen Blazor DatePicker component.

Get and Set the value of DatePicker link

As all Radzen Blazor input components the DatePicker has a Value property which gets and sets the value of the component. Use @bind-Value to get the user input.

Get and Set the value of DatePicker using Value and Change event link

Value property can be used to set the value of the component and Change event to get the user input.

DatePicker with time link

Define hour format link

Time-only DatePicker link

DatePicker with special or disabled dates link

DatePicker with initial view date and year range link

Set Min and Max dates link

DatePicker with custom footer link

DatePicker with custom input parsing link

The Radzen Blazor DatePicker has a parameter named ParseInput which allows for a fully custom parse-method. This way you can accept inputs like '3012' or '30122023' and support more than one input-format. Click on the 'Edit Source' to see the implementation.

DatePicker as calendar link

Sun Mon Tue Wed Thu Fri Sat
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 1 2 3 4 5 6

DatePicker for year/month selection link

DatePicker binds to types DateOnly or TimeOnly link

Value property can be bound to values of type DateOnly or TimeOnly

Keyboard Navigation link

The following keys or key combinations provide a way for users to navigate and interact with Radzen Blazor DatePicker component.

Press this key To do this
Tab Navigate to a DatePicker component.
Tab on open popup Navigate forward across available picker components.
Shift + Tab on open popup Navigate backward across available picker components.
Right Arrow on open popup Select previous day.
Left Arrow on open popup Select next day.
Up Arrow on open popup Select same day from previous week.
Down Arrow on open popup Select same day from next week.
Enter in an opened popup Select the focused day and close the popup.
Esc in an opened popup Close the popup.

Supercharge your Blazor development with Radzen Blazor Studio

Radzen Blazor Studio is a software development environment that empowers developers to design, build and deploy Blazor applications without the traditional hurdles. Write less code and get more done.

open_in_new Learn More
>Radzen Blazor Studio

Radzen Blazor Components, © 2018-2024 Radzen.
Source Code licensed under MIT

Demos Configuration

Premium Themes

  • Material 3
  • Fluent
  • Material 3 Dark
  • Material Dark
  • Fluent Dark

Free Themes

  • Material
  • Standard
  • Default
  • Humanistic
  • Software
  • Dark
An error has occurred. This app may no longer respond until reloaded. Reload 🗙