Hi, I'm using RadTimePicker (really i'm using DnnTimePicker, but it's the same) in my dotnetnuke proyect.
RadTimePicker works fine, but i found a little problem.
I have the proyect in a server, if I set the mindate value for example to today at 11:00, then the RadTimePicker mindate value is "4/12/2012 11:00". This "today" uses the server date.
Ok, its ok, if I open the solution in a client machine with the same date, all works fine, i can't select any hours before mindate.
But i think that mindate validation uses client machine "today" for compare with RadTimePicker mindate. Then if client machine has a different date, for example, 5/12/2012, if I select for example 10:00, mindate validation will compare mindate (4/12/2012 11:00) and selected date (5/12/2012 10:00) and like
4/12/2012 11:00 < 5/12/2012 10:00
I will can select this hour.
I'm not sure that this, because, If client machine has a previous date to server machine date (for example 3/12/2012), in my theory, if i select 12:00, "mindate validation" will compare:
4/12/2012 11:00 < 3/12/2012 12:00
but this doesn't happen, it's like only compares 11:00 < 12:00 and permits to select this.
I don't understand how works this validation, but one thing is sure:
- Client machine with the same o previous date that server machine: all works ok.
- Client machine with a bigger date: this don't work.
I hope that you can help me :)
Thanks, regards, Javi.
PD: sorry for my english
RadTimePicker works fine, but i found a little problem.
I have the proyect in a server, if I set the mindate value for example to today at 11:00, then the RadTimePicker mindate value is "4/12/2012 11:00". This "today" uses the server date.
Ok, its ok, if I open the solution in a client machine with the same date, all works fine, i can't select any hours before mindate.
But i think that mindate validation uses client machine "today" for compare with RadTimePicker mindate. Then if client machine has a different date, for example, 5/12/2012, if I select for example 10:00, mindate validation will compare mindate (4/12/2012 11:00) and selected date (5/12/2012 10:00) and like
4/12/2012 11:00 < 5/12/2012 10:00
I will can select this hour.
I'm not sure that this, because, If client machine has a previous date to server machine date (for example 3/12/2012), in my theory, if i select 12:00, "mindate validation" will compare:
4/12/2012 11:00 < 3/12/2012 12:00
but this doesn't happen, it's like only compares 11:00 < 12:00 and permits to select this.
I don't understand how works this validation, but one thing is sure:
- Client machine with the same o previous date that server machine: all works ok.
- Client machine with a bigger date: this don't work.
I hope that you can help me :)
Thanks, regards, Javi.
PD: sorry for my english