Control back to TextBox

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • abhii
    New Member
    • Feb 2008
    • 30

    Control back to TextBox

    hello everyone,
    can anyone please tel me that how i can control take back to the textbox if no value is get entered into textbox....i want solution in c#
    Last edited by abhii; Mar 12 '08, 12:05 PM. Reason: LANGUAGE WAS NOT SPECIFIED...
  • saran23
    New Member
    • Mar 2008
    • 28

    #2
    Originally posted by abhii
    hello everyone,
    can anyone please tel me that how i can control take back to the textbox if no value is get entered into textbox....i want solution in c#
    Hi abhi,
    If ur using javascript for validation, then use this
    Code:
    document.GetElementbyId("textboxID").focus
    In the validation function in javascript

    Comment

    • gagandeepgupta16
      New Member
      • Feb 2007
      • 56

      #3
      in C#
      controlID.focus ();

      if i am confused then SetFocus();

      kindly check it.

      Regards

      Comment

      Working...