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

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:

http://stackoverflow.com/questions/701029/asp-net-custom-validator-client-side-server-side-validation-not-firing

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: