Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > TimePicker > How to Clear Control Text

Answered How to Clear Control Text

Feed from this thread
  • Gopesh avatar

    Posted on Jul 31, 2010 (permalink)

    Hi,
     How can I clear the control's Time if I want to blank it out? I tried in several ways like trying by setting SelectedValue=null, SelectedDate=null. Nothing seems to work. It sets null behind the scene, means when I access value of cantrol at codebehind I find null. But on the UI it still displaying the SelectedTime.  It doesn't blank out the control.

    Thanks

    Reply

  • Answer Boyan Boyan admin's avatar

    Posted on Aug 4, 2010 (permalink)

    Hi Gopesh,

    Setting
    timepicker.SelectedValue = null;
    work fine at my side. It properly clears the textbox and shows the EmptyText. Could you please specify the exact version of the controls you are using and if there is something specific in your project and on what event you are setting the Value to null.

    Regards,
    Boyan
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > TimePicker > How to Clear Control Text
Related resources for "How to Clear Control Text"

Silverlight TimePicker Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]