Rank: Member Groups: Member
Joined: 11/26/2007 Posts: 11
|
I don't know how to use the masked edit for formmating the time - hh:mm:ss - input. For example, '10:01' to be displayed like this and not as '10:1'.. Thanks!
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi,
MaskedEdit does not take a time value, it takes a string and then uses that string to match the mask. So you would need to format the string by yourself first.
If you do not want to format the string, you can take a look of our DatePicker control. Just set the PickerFormat to "hh:mm:ss" and it should be able to handle time value as you expected. You may also want to set the DatePicker's PopupImageUrl, PopupImageHoverUrl and PopupImageDownUrl to "Blank". That way user will only see a textbox, not the drop down button.
Thanks
|