}
  • Fluent
  • Fluent Dark
  • Bootstrap v5
  • Bootstrap v5 Dark
  • Tailwind CSS
  • Tailwind CSS Dark
  • Material
  • Bootstrap v4
  • High Contrast
Preferences
Theme Selection
Mode Selection
Touch
Mouse
Localization
*Translated by Google Translator.
Currency

Example of TimePickerFor in ASP.NET MVC TimePicker Control

Click/Touch the submit button to post the selected value in the TimePicker. When posting the null value, validation error message will be shown below the TimePicker.

DEMO
SOURCE

This sample demonstrates the Strongly typed extension support in TimePicker. Value is set to the TimePicker from the code behind and its set to TimePicker in view page by invoking the strongly typed TimePickerFor helper with the lamba expression.

More information on the DatePicker instantiation can be found in the documentation section.