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

DateTimePicker - Adaptive

  • Adaptive.razor
Loading the demo source code...please wait.

Style in ThemeBuilder

  • Custom SASS variables
  • Atomic customizations
  • Sharing projects
Start Theming

Description

The Telerik Blazor DateTimePicker supports an adaptive mode, which when enabled, provides a mobile-friendly rendering of its date and time selector popup. To enable it, use the AdaptiveMode parameter and set it to AdaptiveMode.Auto. The picker component will automatically adapt to the current screen size and will change its rendering accordingly. On medium-sized screens, the suggestion list will display as a docked to the bottom modal, while in smaller screens - a full-screen modal dialog will be used. In all other scenarios, including when the parameter has not been set or it has been to its default value of AdaptiveMode.None, a standard popup rendering anchored to bottom of the input itself will be used.

This Blazor DateTimePicker Adaptive example is part of a unique collection of hundreds of Blazor demos, with which you can see all Telerik UI for Blazor components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Telerik REPL for Blazor or ThemeBuilder.

Support & Learning Resources

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