Clear form?

Results 1 to 2 of 2

Thread: Clear form?

  1. #1
    Join Date
    Dec 1969

    Default Clear form?

    I need at some point to clear all the server controls on my form (to do something like TextBox1.Text = ""). I would like to write the procedure that would clear any form. How can I access the server controls on the form dinamically (I don't know how many controls I have and I don't know their names)? Is it the appropriate thing to try to do for the Web application?

  2. #2
    Join Date
    Dec 1969

    Default RE: Clear form?

    have you try using a for each loop to detecte each controls and then change there text to nothing.. ?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts