Hello, I'm trying to use a form with validation controls. Validation is working
ex:
RoHSCompliancy:
<asp:TextBox ID="RoHSCompliancyTextBox" runat="server" Text='<%# Bind("RoHSCompliancy") %>' />
<asp:RequiredFieldValidator ID="RoHSCompliancyValidator" runat="server" ErrorMessage="This field is required" ControlToValidate="RoHSCompliancyTextBox" Display="Dynamic"></asp:RequiredFieldValidator>
BUT I want to handle whatever event is fired when the text is considered invalid. I've tried everything, including using the FormView events, such as OnCommand, but I'm guessing none of those events will ever fire if the text is invalid. Anyone can help me?