How To Create Reset Button In ASP.Net

Create reset button in ASP.Net using ASP.Net Button Control.

<asp:Button ID=”rsbtn” runat=”server” Text=”Reset” CausesValidation=”false” OnClientClick=”this.form.reset();return false;” />


Step 1: Take ASP.Net button control

Step2: Set Causes Validation property to “false”

Step3: Use event OnClientClick, and add the following line of code into it: OnClientClick=”this.form.reset();return false;”



JavaScript, ASP.Net & PHP Web Developer. Connect with me on Facebook and Twitter.

Share This Post

Related Articles

Powered by Paras Babbar · Designed by Paras Babbar