Server Error in '/' Application.
<asp:TextBox ID="txt_GPF_CPF" runat="server" AutoPostBack="true" required="true" placeholder="GPF/CPF Number" OnTextChanged="txt_GPF_CPF_TextChanged" onKeyPress="return ValidateAlpha(event);"</asp:TextBox>
after using above code. Through autopost back I am check user availability or not and I wnat to alphanumeric java Scrpt validation onkeypress event. using above code below error occur. When i remove autopost back its work Can anyone solve this issue.?
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: The server tag is not well formed.
Source Error:
Line 37: <div style="float: left; width: 250px;" class="alignleft">
Line 38:
Line 39: <asp:TextBox ID="txt_GPF_CPF" runat="server" AutoPostBack="true" required="true" placeholder="GPF/CPF Number" OnTextChanged="txt_GPF_CPF_TextChanged" onKeyPress="return ValidateAlpha(event);"</asp:TextBox>
Line 40: <span id="error" style="color: Red; display: none">* Special Characters not allowed</span>
Line 41: <br />
|