Posted on: 6/5/2013 8:42:27 PM | Views : 348

Hi all,
I have a gridview which is dynamically getting the data from the database. The controls are created in Item Template. When i insert a validation control, it gives me the below error, whereas I am not using jQuery at all.
 
Code:
<asp:TemplateField HeaderText="Qty"> <ItemTemplate> <asp:TextBox ID="txtQty" runat="server" Height="16px" Width="33px"></asp:TextBox> <br /> <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtQty" ErrorMessage="Please enter a Qty" style="color: #FF0000"></asp:RequiredFieldValidator> </ItemTemplate> ...

Go to the complete details ...