How can i clear timefield

  1. #1

    How can i clear timefield

    How can i clear timefield?When i gave this method txtFromTime.SelectedValue = "";,i got the error
  2. #2
    Hi,

    You can call the .Clear() Method.

    Example

    TimeField1.Clear();
    Hope this helps.
    Geoffrey McGill
    Founder
  3. #3
    I should also mention, from the client-side (JavaScript), there's also the .clear() function.

    Example

    TimeField.clear();
    Geoffrey McGill
    Founder
  4. #4

    Thanks for your help

    Thanks for your help


    Quote Originally Posted by geoffrey.mcgill View Post
    I should also mention, from the client-side (JavaScript), there's also the .clear() function.

    Example

    TimeField.clear();

Similar Threads

  1. Timefield Problem(am/pm)
    By kiran malgi in forum 1.x Help
    Replies: 4
    Last Post: Jun 22, 2010, 4:31 AM
  2. TimeField - Help
    By Jose Pereira dos anjos Júnior in forum 1.x Help
    Replies: 0
    Last Post: Jun 07, 2010, 2:09 AM
  3. TimeField issue
    By idrissb in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Nov 17, 2009, 9:50 AM
  4. TimeField
    By jmilton in forum 1.x Help
    Replies: 0
    Last Post: May 27, 2009, 12:21 PM
  5. Replies: 2
    Last Post: Apr 01, 2009, 7:02 AM

Posting Permissions