This is a migrated thread and some comments may be shown as answers.

RadTimePicker

1 Answer 84 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Matt Nygren
Top achievements
Rank 1
Matt Nygren asked on 04 Aug 2008, 06:53 PM
Hello. I would like to set the max time for RadTimePicker to be the current time of the day. Meaning, I want to prevent the user from selecting a future time for today. So, if its 9 am currently, I want to grey out/prevent them from selecting 10am, 11 am etc etc for today. Is this possible? I have tried to do this in both client side javascript and server side but cannot get it to grey out the times?

Thanks

1 Answer, 1 is accepted

Sort by
0
Konstantin Petkov
Telerik team
answered on 05 Aug 2008, 05:46 AM
Hello Matt,

Yes, this is easily achievable. You can use the TimeView.EndTime property for this purpose. See the Configuring the Embedded TimeView help article for details.

Regards,
Konstantin Petkov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Calendar
Asked by
Matt Nygren
Top achievements
Rank 1
Answers by
Konstantin Petkov
Telerik team
Share this question
or