Home All Groups Group Topic Archive Search About
Author
9 Feb 2006 7:54 PM
nhaydon
MSDN states that if you set the Login control's properties of
UserNameRequiredErrorMessage and PasswordRequiredErrorMessage that they will
display whenever a ValidationSummary is present. This is not working. The
ValidationSummary never gets invoked when the Login button is pressed from
the login control. Is this a  known bug?

Author
10 Feb 2006 6:07 PM
Peter Blum
The ValidationSummary must have the same Validation Group as the validators.
The Login control assigns a validation group name to its controls. You have
to use the same name in the ValidationSummary.

The docs for the Login control define the validation group as the same as
the string you assign to the ID property.

--- Peter Blum
www.PeterBlum.com
Email: PLB***@PeterBlum.com
Creator of "Professional Validation And More" at
http://www.peterblum.com/vam/home.aspx

Show quoteHide quote
"nhaydon" <nhay***@discussions.microsoft.com> wrote in message
news:9B3C9FBF-EB21-40FA-8DB4-24ADA9FDAA1A@microsoft.com...
> MSDN states that if you set the Login control's properties of
> UserNameRequiredErrorMessage and PasswordRequiredErrorMessage that they
> will
> display whenever a ValidationSummary is present. This is not working. The
> ValidationSummary never gets invoked when the Login button is pressed from
> the login control. Is this a  known bug?
Author
19 Apr 2006 5:33 AM
Dan Donovan
I still can't get anything to show up in my Validation Summary. I have my
Validation Group set to the same name as the Login control ID, but my summary
shows nothing. Is there something I need to do to get the summary to display,
some event that its needs to tie to so that it gets updated?

Sorry for the seemingly dumb question, I'm a little new...

Show quoteHide quote
"Peter Blum" wrote:

> The ValidationSummary must have the same Validation Group as the validators.
> The Login control assigns a validation group name to its controls. You have
> to use the same name in the ValidationSummary.
>
> The docs for the Login control define the validation group as the same as
> the string you assign to the ID property.
>
> --- Peter Blum
> www.PeterBlum.com
> Email: PLB***@PeterBlum.com
> Creator of "Professional Validation And More" at
> http://www.peterblum.com/vam/home.aspx
>
> "nhaydon" <nhay***@discussions.microsoft.com> wrote in message
> news:9B3C9FBF-EB21-40FA-8DB4-24ADA9FDAA1A@microsoft.com...
> > MSDN states that if you set the Login control's properties of
> > UserNameRequiredErrorMessage and PasswordRequiredErrorMessage that they
> > will
> > display whenever a ValidationSummary is present. This is not working. The
> > ValidationSummary never gets invoked when the Login button is pressed from
> > the login control. Is this a  known bug?
>
>
>