New to Telerik UI for WinForms? Download free 30-day trial

Free Form Date Time Parsing

From Q2 2014 we introduced new MaskType of RadMaskedEditBox that is designed to work with DateTime objects and it is not format restricted as the old one. With the new MaskType RadMaskedEditBox tries to parse the input string to valid DateTime object by using very complex logic. Read more about this parsing logic here.

The embedded text editor of RadTimePicker is RadMaskedEditBox. So if you want to take the advantages from new DateTime parsing logic the only thing that you should to do is to change the MaskType of embedded editor.


this.radTimePicker1.TimePickerElement.MaskedEditBox.MaskType = MaskType.FreeFormDateTime;

Me.RadTimePicker1.TimePickerElement.MaskedEditBox.MaskType = MaskType.FreeFormDateTime

In this article