|
Rank: Advanced Member Groups: Member
Joined: 6/5/2007 Posts: 76
|
Similar to the datepicker I have a need for a time picker.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,201
|
Hi Paul,
It's already there. The latest DatePicker supports time. Please download it and check its PickerFormat property.
Thanks
|
|
Rank: Advanced Member Groups: Member
Joined: 6/5/2007 Posts: 76
|
Oh!
Right, I've downloaded and installed it, but what do I put in the format to make it a time picker?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,201
|
Hi Paul,
It will be a Date and Time picker, not just timer picker. You can put stuff like "hh" for hours, "mm" for minutes. For the complete list please refer to the document along with the installation.
Thanks
|
|
Rank: Advanced Member Groups: Member
Joined: 6/5/2007 Posts: 76
|
I have it displaying the date/time with dd/MM/yyyy hh:mm but how do you select a time?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,201
|
No. You do not "select" the time, you "enter" the time directly.
|
|
Rank: Advanced Member Groups: Member
Joined: 6/5/2007 Posts: 76
|
Ah! right! I was expecting a scroll list with times in 5 minute increments with the abilty to overtype of enter other times.
I get a problem with users entering times in the wrong format or invalid times.
I can format to hh:mm to get rid of the date so it only shows the time, but the date selector icon is still there. How can I get rid of it as there's no need for it to be there if they are only entering a time and it would confuse them.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,201
|
Hi Paul,
You can wait for our MaskedEdit control :) Or you can set the DatePicker's PopupImageUrl, PopupHoverImageUrl and PopupDownImageUrl to "Blank". It's a 1 by 1 transparent image, so theoretically user can still find and click on it. :)
Thanks
|
|
Rank: Advanced Member Groups: Member
Joined: 6/5/2007 Posts: 76
|
Cheers
|
|
Rank: Member Groups: Member
Joined: 12/18/2007 Posts: 20
|
A proper time picker would be appreciated even from us! Maybe it will have two text boxes - on for the hours and the other for the minutes with a scroller next to each of them
|
|