Welcome Guest Search | Active Topics | Sign In | Register

Range Validator on Time Picker control (Datepicker) Options
Biju Augustin
Posted: Thursday, September 6, 2007 1:44:56 AM
Rank: Newbie
Groups: Member

Joined: 9/5/2007
Posts: 2
Hi..

Just want to know how do I put range validator control on Timepicker (eventually Datepicker control and changed its Pickup format as time format). For example suppose I got 2 time picker control 'start time ' and 'end time' , i want set up this control as 'end time' cannot be less than 'start time' .. I would be appreciated for an early reply.

Thanks

Biju Applause
eo_support
Posted: Thursday, September 6, 2007 6:35:17 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Biju Augustin
Posted: Thursday, September 6, 2007 9:02:43 AM
Rank: Newbie
Groups: Member

Joined: 9/5/2007
Posts: 2
It works fine with Datepicker..but I am confusing how to use it on Time picker control.Also this you mentioned that the DatePicker needs to be first formatted in the form of "yyyy-MM-dd". But in my case I not using date at all , and using pickupformat as "hh:mm:ss tt". It would be helpfull if have some sample code for it..

Cheers

B
eo_support
Posted: Thursday, September 6, 2007 9:25:20 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Hi Biju,

I see. I am not sure whether time picker supports range validator. I will find out and let you know.

Thanks
eo_support
Posted: Friday, September 7, 2007 9:33:36 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Hi Biju,

We verified that the time picker does work with RangeValidator. However you need to include a date value of "0001-01-01" in your RangeValidator. For example, if you want the range to be 01:00:00 to 02:00:00, you want to set the RangeValidator's MaximumValue to 0001-01-01 01:00:00 and MinimumValue to 0001-01-01 02:00:00.

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.