Reset a page in ASP.NET without postback
问题 I want to reset a form but I'm using a few "Required Field Validator" every time I click the reset button the error message shows requiring fields... What I tried: ReuiqredFieldValidator.Enabled = false; TextBox.Text=""; Response.Redirect("Samepage.aspx"); Response.Redirect("Request.RawUrl"); <input type=reset> 回答1: Try this: <asp:Button runat="server" ID="reBt" Text="Reset" OnClientClick="this.form.reset();return false;" CausesValidation="false" /> from here 回答2: You can apply