Custom Validator not firing Custom Validator not firing asp.net asp.net

Custom Validator not firing


Remember to set this property on the CustomValidator...

ValidateEmptyText="True"


You need to set the CausesValidation property of the TextBox to true, like this:

<asp:TextBox runat="server" ID="txtVideo1Url"  Columns="20" Width="98%" CausesValidation="true" />


You will have to add ValidationGroup="submission" to the ASP.NET control that will fire the postback.