Basic usage

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
HtmlHelper
TagHelper
Files:
index.cshtml
IndexController.cs
Index_TagHelper.cshtml

Also available for:

CLIENT-SIDE API SERVER-SIDE API
devcraft ninja image

The DateTimePicker component is part of Telerik UI for ASP.NET Core, a professional grade UI library with 110+ components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.

Description

The Telerik UI for ASP.NET Core DateTimePicker is a component that allows you to manually input date and time or to select them from a dropdown calendar and a list of time options. Those features are displayed in the demo example as a basic scenario for the component. In addition, the Telerik DateTimePicker also provides the following functionalities:

  • Disabled dates
  • Selected dates
  • Start view and navigation depth
  • Validation
  • Date and time formatting
  • Calendar types
  • Week number column
  • DateInput integration
  • Templates
  • Globalization
  • Accessibility
This DateTimePicker example is part of unique collection of hundreds of ASP.NET Core demos, with which you can see all Telerik ASP.NET Core components and their features in action. View the source code of each of them or directly adapt and edit them, including their theme appearance, in Telerik REPL for ASP.NET Core.

Support & Learning Resources

Additional Resources