Archive for December 14th, 2010

ASP.NET Custom Validator Client side & Server Side validation not firing!

December 14, 2010

Your CustomValidator will only fire when the TextBox isn’t empty.

If the input control is empty, no validation functions are called and validation succeeds. Use a RequiredFieldValidator control to require the user to enter data in the input control.

A thread from Stackoverflow: