Is there any other methods to clear the fields since i have many textboxes in my form.
Is there any method as form.submit() in asp.net or form.clear().
You can place a Reset button on the form BUT the problem with that is if you change a textbox's value during postback the reset will consider that new value as the default value. ie...
First time you load a page....
text1.Text = ""
On postback you cahnge the value because of some condition on the server...
text1.Text = "Hello"
Clicking the Reset button now will set text1's value to "Hello"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.