ASP.NET CustomValidator doesn’t fire ServerValidate event w hen input box is empty

ASP.NET valuator controls don’t validate empty input by default, this iswhat the RequiredFieldValidator is for… sometimes for customised inputvalidation you might not want this behaviour (e.g. if one of two input boxesmust be non-blank)… /// /// Overrides the default behaviour of CustomValidator to allow /// ServerValidate event to fire even if the input is blank./// public [...]

Add comment

Loading