Welcome Guest Search | Active Topics | Sign In | Register

time picker Options
laur
Posted: Monday, November 26, 2007 9:37:44 AM
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!
eo_support
Posted: Monday, November 26, 2007 9:46:33 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
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


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.