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

Clearing Control Text

1 Answer 51 Views
TimePicker
This is a migrated thread and some comments may be shown as answers.
Andy Grimes
Top achievements
Rank 1
Andy Grimes asked on 01 Oct 2008, 09:30 PM
How do I clear the controls Time if I want to blank it out?
Asp.Net uses a Clear() function but this doesn't have one?

Thanks

1 Answer, 1 is accepted

Sort by
0
Bobi
Telerik team
answered on 02 Oct 2008, 03:25 PM
Hi Andy Grimes,

You can set the SelectedTime to 00:00 using:

this.timePicker.SelectedTime = new TimeSpan(0, 0, 0);



Greetings,
Boryana
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
TimePicker
Asked by
Andy Grimes
Top achievements
Rank 1
Answers by
Bobi
Telerik team
Share this question
or