I have a text box on my form which is used to enter a reference number. It has 2 validation controls attached to it. The first is a standard required validator, the second is a custom validator which runs a little bit of code that checks to see if the reference that has been entered already exists.
The controls sit side by side on my form in the following order:
Textbox RequiredValidator CustomValidator
Both validators work fine, the problem is that if it is the Custom validator that is triggered, then there is a gap between the text box and the validation error message where the unseen required validator is hiding.
Can anyone help?
The controls sit side by side on my form in the following order:
Textbox RequiredValidator CustomValidator
Both validators work fine, the problem is that if it is the Custom validator that is triggered, then there is a gap between the text box and the validation error message where the unseen required validator is hiding.
Can anyone help?