EditMask With DateTimePicker

1 Answer 13 Views
DateTimePicker
Neil N
Top achievements
Rank 2
Iron
Iron
Veteran
Neil N asked on 28 Jul 2025, 07:48 PM
Is there a way to use RadMaskedDateTimeInput with RadDateTimePicker?  Users want to be able dates in MM/dd/yyyy format (without typing the slashes) or use the calendar picker.  I believe RadDateTimePicker uses RadWatermarkTextBox which does not have tight input control.

1 Answer, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 29 Jul 2025, 07:25 AM

Hello Neil,

You are correct. RadDateTimePicker uses RadWatermarkTextBox for the text input. 

To achiever your requirement, you can re-remplate the RadDateTimePicker control in order to replace the RadWatermarkTextBox element with a RadMaskedDateTimeInput.

An alternative idea would be to compose your own custom date-time picker using multiple controls. For example:

  • RadMaskedDateTimeInput for the input area
  • RadDropDownButton for the button that opens the popup.
  • RadCalendar and RadClock for the content in the popup (assigned via the DropDownContent property of the drop down button)

I hope that helps.

Regards,
Martin Ivanov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
DateTimePicker
Asked by
Neil N
Top achievements
Rank 2
Iron
Iron
Veteran
Answers by
Martin Ivanov
Telerik team
Share this question
or