<label class="head">Mobile number<span class="mandatory">*</span> </label> <div class="inputFieldBox vf-full-width"> <asp:TextBox ID="mobilenumber" required="required" ValidationGroup="hai" class="textss" MaxLength="10" AutoComplete="off" runat="server" ></asp:TextBox> <asp:FilteredTextBoxExtender ID="FilteredTextBoxExtender2" runat="server" TargetControlID="mobilenumber" ValidChars="0123456789"/> </div>
<div class="btns"> <asp:Button ID="Button1" class="Button1" runat="server" Text="Submit" onclick="Button1_Click" ValidationGroup="hai" CausesValidation="False" ></asp:Button> </div>
<label for="name">Name:</label><span class="mandatory">*</span> <asp:TextBox ID="name" class="w-input" runat="server" placeholder="Enter your name" ></asp:TextBox> <label for="number">Mobile Number:</label><span class="mandatory">*</span> <asp:TextBox ID="number" class="w-input" runat="server" placeholder="Enter your mobile number"></asp:TextBox> <label for="email">Email Address:</label><span class="mandatory">*</span> <asp:TextBox ID="emailg" class="w-input" runat="server" placeholder="Enter your email address" ></asp:TextBox> <label for="oldpass" class="youpasswd" >Your password </label><span class="mandatory">*</span> <asp:TextBox ID="pass" class="w-input" runat="server" TextMode="Password" placeholder="eg. X8df!90EO"></asp:TextBox> <label for="passconfirm" class="youpasswd" >Please confirm your password </label><span class="mandatory">*</span> <asp:textBox ID="cpass" class="w-input" runat="server" Textmode="password" placeholder="eg. X8df!90EO"></asp:TextBox> <asp:Button ID="submitss" class=".Button" Text="Update" runat="server" CausesValidation="False" onclick="submitss_Click" />
Add ValidationGroup property that may help you: <asp:Button ID="submitss" class=".Button" Text="Update" runat="server" CausesValidation="False" ValidationGroup="NoValidaite" onclick="submitss_Click" />
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)