I'm not sure why you explicitly want the ValidationSumma ry to appear upon
getting the first error. You can fake it in several ways.
1. Put the validators in the location of the ValidationSumma ry control. Omit
the ValidationSumma ry itself. This is still tricky due to formatting
multiple messages.
2. I wrote a replacement to Microsoft's validators to overcome its many
limitations. "Profession al Validation And More"
(
http://www.peterblum.com/vam/home.aspx) has several features that may help:
- If you are putting error messages elsewhere because of screen realestate,
my validators offer several "ErrorFormatter s" that take up very little
screen space: an image that pops up the error message via alert or tooltip;
a hyperlink that shows an alert with the error message.
- My ValidationSumma ry auto shows and hides error messages as the user
edits. However, it doesn't show unless the user submits or you write one
call to my javascript that is invoked as the page is loaded.
- My CombinedErrorMe ssages control is a kind of mix between a
ValidationSumma ry and normal validators. It lets you group a list of
validators. They appear at the location of this control, like a
ValidationSumma ry, but at the time the edit is made.
--- Peter Blum
www.PeterBlum.com
Email:
PL****@PeterBlu m.com
Creator of "Profession al Validation And More" at
http://www.peterblum.com/vam/home.aspx
"Ely" <el**@ianinc.co m> wrote in message
news:e$******** ******@tk2msftn gp13.phx.gbl...
When validating a control client side, is there a way to get the error
message to display in the validation summary as soon as the control losses
focus? Right now it only displays when the user clicks on the submit
button.
Thanks,
Ely