Blazor DateRangePicker - Overview
- VIEW SOURCE
- EDIT IN TELERIK REPL
- Change Theme
The DateRangePicker component is part of Telerik UI for Blazor, a professional grade UI library with 100+ native components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.
The Telerik UI for Blazor DateRangePicker component allows users to edit date ranges from start and end date inputs and to select them directly from a calendar popup. The range is visualized in real time in an animated dropdown. The values of the date inputs and calendar are synchronized to enable further change of the chosen date range.
The current demo shows a primary example of using the Blazor DateRangePicker component by selecting the start and end dates for a booking. To plug the Telerik DateRangePicker component in your Blazor app, you simply need to add the <TelerikDateRangePicker> tag and set the binding for the date range.
In the demo configurator, you can adjust the debounce delay property of the UI component, which allows control over the time delay and response to the change of the date values. You can perform further customizations, such as disable dates in the range, provide a text hint for the format of both date input sections, apply formatting and set the following parameters: minimum and maximum values, bottom view in the popup calendar, calendar views, tab index, placeholders, start and end values and ids. You can also add your own buttons and navigation in the DateRangePicker header using the <HeaderTemplate> tag.
The DateRangePicker for Blazor includes multiple events for handling changes in the start and end values, plus appearance setting parameters, allowing you to easily configure the component size, shape and fill mode.
The DateRangePicker also provides a parameter to show the week number in the Calendar popup.