I have two buttons in the form one which is used to save the data and also to validate.And other button is used to clear data if they entered any thing wrong.But when required field validator is fired the clear button is not working.
<table width="100%" style="margin-left: 50px;">
<tr>
<td align="left" style="width: 7%; height: 37px">Customer
</td>
<td align="left" style="width: 1%; height: 37px">:
</td>
<td style="width: 92%; height: 37px" align="Left">
<%--<asp:Label ID="cname" runat="server" Text="[Label]" ForeColor="Black" Font-Bold="true"></asp:Label>--%>
<asp:DropDownList ID="customer" runat="server" Width="200px"></asp:DropDownList>
</td>
</tr>
<tr>
<td style="width: 7%; height: 37px;" align="left">Name
</td>
<td align="center" style="width: 1%; height: 37px">:
</td>
<td style="width: 100%; height: 37px" align="Left">
<asp:TextBox ID="namee" runat="server" CssClass="txtbxcss" ValidationGroup="a" MaxLength="200" Width="200px"></asp:TextBox>
<asp:RequiredFieldValidator ID="name" ControlToValidate="namee" ForeColor="Red" Display="Static"
ValidationGroup="a" ErrorMessage="*" runat="server"></asp:RequiredFieldValidator>
<%--<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ForeColor="Red"
ErrorMessage="Name Length 3 to 100" ControlToValidate="namee" ValidationGroup="a" ValidationExpression="^[a-zA-Z0-9'@&#.\s]{3,199}$"></asp:RegularExpressionValidator>
--%>
</td>
</tr>
<tr>
<td style="width: 7%; height: 37px;" align="left">Email - Id
</td>
<td align="center" style="width: 1%; height: 37px">:
</td>
<td style="width: 60%; height: 37px" align="Left">
<asp:TextBox ID="txtemail" runat="server" ValidationGroup="a" Width="200px"></asp:TextBox>
<asp:RequiredFieldValidator ID="emailval" ControlToValidate="txtemail" ForeColor="Red" Display="Static"
ValidationGroup="a" ErrorMessage="*" runat="server"></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ID="emailvall" runat="server" ForeColor="Red"
ErrorMessage="Enter vaild Email - ID" ControlToValidate="txtemail" ValidationGroup="a" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
</td>
</tr>
<tr>
<td style="width: 7%; height: 37px;" align="left">Mobile
</td>
<td align="center" style="width: 1%; height: 37px">:
</td>
<td style="width: 60%; height: 37px" align="Left">
<asp:TextBox ID="mobileno" runat="server" CssClass="txtbxcss" ValidationGroup="a" MaxLength="10" Width="200px"></asp:TextBox>
<asp:RequiredFieldValidator ID="mobileval" ControlToValidate="mobileno" ForeColor="Red" Display="Static"
ValidationGroup="a" ErrorMessage="*" runat="server"></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ID="Rfv" runat="server" ForeColor="Red" ErrorMessage="Enter valid Mobile number" ValidationGroup="a" ControlToValidate="mobileno" ValidationExpression="^[01]?[- .]?(\([2-9]\d{2}\)|[2-9]\d{2})[- .]?\d{3}[- .]?\d{4}$" ></asp:RegularExpressionValidator>
</td>
</tr>
<tr>
<td style="width: 7%; height: 37px;" align="left">Branch/Location
</td>
<td align="center" style="width: 1%; height: 37px">:
</td>
<td style="width: 60%; height: 37px" align="Left">
<asp:TextBox ID="location" runat="server" CssClass="txtbxcss" ValidationGroup="a" MaxLength="200" Width="200px"></asp:TextBox>
<asp:RequiredFieldValidator ID="branchval" ControlToValidate="location" ForeColor="Red" Display="Static"
ValidationGroup="a" ErrorMessage="*" runat="server"></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ValidationExpression="^[a-zA-Z0-9'@&#.\s]{3,199}$"
ForeColor="Red" ErrorMessage="Branch length from 3 to 200" ControlToValidate="location" ValidationGroup="a"></asp:RegularExpressionValidator>
</td>
</tr>
<tr>
<td style="width: 7%; height: 37px;" align="left">Designation
</td>
<td align="center" style="width: 1%; height: 37px">:
</td>
<td style="width: 60%; height: 37px" align="Left">
<asp:TextBox ID="desg" runat="server" CssClass="txtbxcss" ValidationGroup="a" MaxLength="200" Width="200px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator6" ControlToValidate="desg" ForeColor="Red" Display="Static"
ValidationGroup="a" ErrorMessage="*" runat="server"></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" ValidationExpression="^[a-zA-Z0-9'@&#.\s]{3,199}$"
ForeColor="Red" ErrorMessage="Designation length from 3 to 200" ControlToValidate="desg" ValidationGroup="a"></asp:RegularExpressionValidator>
</td>
</tr>
<tr>
<td style="width: 7%; height: 37px;" align="left">Status
</td>
<td align="center" style="width: 1%; height: 37px">:
</td>
<td style="width: 60%; height: 37px" align="Left">
<asp:RadioButtonList ID="status" runat="server" RepeatDirection="Horizontal" CellSpacing="10" >
<asp:ListItem Value="0" Selected="True">Active</asp:ListItem>
<asp:ListItem Value="1">Inactive</asp:ListItem>
</asp:RadioButtonList>
<%--<asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="plist" ForeColor="Red"
ValidationGroup="a" ErrorMessage="*" runat="server"></asp:RequiredFieldValidator>--%>
<%-- <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ErrorMessage="Password length from 5 to 20" ForeColor="Red"
ValidationGroup="a" ControlToValidate="Txtpassword" ValidationExpression="^[a-zA-Z0-9'@&#.\s]{5,19}$">
</asp:RegularExpressionValidator>--%>
</td>
</tr>
<tr>
<td style="width: 7%; height: 37px;" align="left">Access
</td>
<td align="center" style="width: 1%; height: 37px">:
</td>
<td style="width: 60%; height: 37px; text-align:Left">
<asp:CheckBoxList ID="Accesstype" runat="server" CssClass="chtest" RepeatDirection="Vertical" >
</asp:CheckBoxList>
</td>
</tr>
<tr>
<td style="width: 2%;" align="left"></td>
<td align="left" colspan="2" style="height: 40px; padding-left: 25px" valign="middle">
<asp:Button ID="Butsave" runat="server" Text="save" CausesValidation="true" ValidationGroup="a" CssClass="aspbtn" OnClick="Butsave_Click" />
  
<asp:Button ID="Btncancel" runat="server" Text="Clear" CausesValidation="False" CssClass="aspbtn" OnClick="Btncancel_Click" />
<%-- <asp:Button ID="Butclear" runat="server" Text="Clear" CausesValidation="False" />--%>
</td>
</tr>
</table>