title: How to clear all form fields from code-behind?
body: <p>HTML has an input button type to reset all fields in a form to their initial state in one step: <code>&lt;input type="reset" ... /&gt;</code>. </p>
  
  <p>Is there a similar simple way to reset all form fields of an aspx page from code-behind? Or is it necessary to reset all controls one by one with <code>TextBox1.Text=string.Empty</code>, <code>TextBox2.Text=string.Empty</code>, etc. ?</p>
  
  <p>Thanks in advance!</p>
  
  <p><strong>Update:</strong></p>
  
  <p>Context is a simple Contact/"Send us a message" page with 8 asp:TextBoxes on the page (where the user enters the name, address, phone, email, message, etc.). Then he clicks on submit, the Onclick message handler in code-behind sends an email to some administrator, and all the form fields the user filled in should be emptied and he gets a notification in a label ("Message sent blabla..."). I want to have the form fields cleared to avoid that the user clicks again on submit and the same message is sent a second time.</p>