|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Login control and validationMSDN 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? 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? 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? > > >
ASP.NET 2.0 Dropdownlist EnableViewState=false SelectedIndexChange
GridView ASP 2.0 Postback problem with web parts DropDownList: MaxDropDownItems? HELP: Dynamic updateable checkbox list Convert string to ITemplate Treeview update on postback Retrieving machine.config/web.config values ... GridView current row?? Go directly to edit mode in formview? |
|||||||||||||||||||||||