Here is one I'm using:
<asp:customvalidator id=CustomValidator2 style="Z-INDEX: 111; POSITION:
relative;
TOP: 20px" runat="server"
ErrorMessage="New Password Must Contain Both Letters and Numbers"
EnableClientScript="False"
OnServerValidate="checkNewPass">*</asp:customvalidator>
Notice the * between the tags. This text will appear wherever you place
this validator on your page.
The Error Message only goes to the summary.
AJ
"darrel" <no*****@hotmail.com> wrote in message
news:ub**************@TK2MSFTNGP09.phx.gbl...
look at the Validation Summary control
Curt/Andrew:
THANKS!
Unfortunately, once again, this seems to be a control that doesn't QUITE
give me the flexibility I need.
I want to have a custom error at the top, with the specific errors showing
up at each field (with their own validator controls). I can add custom
text in the validationSummary using the HeaderText attribute. However, it
insists on also showing the errorSummaries. I can turn off the errorSummaries, but
that also turns off the HeaderText.
So not *quite* what I was working for.
Any other suggestions?
-Darrel