The Validator control itself generates the following tag:
<span id="[clientID of the validator]" style="[handles visibility]">Error
message goes here</span>
Unless your ErrorMessage has an in it, the Validator is not
generating the .
For example, if you have a <asp:TextBox [properties] /> <asp:validator
[properties] />, the space between the two is an that you hand
entered.
--- Peter Blum
www.PeterBlum.com
Email:
PL****@PeterBlum.com
Creator of "Professional Validation And More" at
http://www.peterblum.com/vam/home.aspx
"mortb" <mo****@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
A validator that is not displayed will render a tag in the output
page.
This cuases me problems as I don't wnat anything to show in this case.
Is there any way to get rid of the ?
cheers,
mortb