Radzen Blazor Components
percent

Save $100 with our Black Friday deals!

Upgrade your development experience with Radzen Blazor Studio today!

Get $100 OFF with promo code BLACKFRIDAY2024 at checkout until November 30.

See Pricing ↗

DatePicker

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

November
2024
SunMonTueWedThuFriSat
272829303112
3456789
10111213141516
17181920212223
24252627282930
1234567

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
  • Material 3 Dark
  • Fluent
  • Fluent Dark

Free Themes

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