When the Login Control is used with MasterPages, the ValidationSummary does not show the validation messages. I have set the ValidationGroup property to the ID of the Login control.
I tried using the approach at Link
with no luck.
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Try
ValidationSummary1.ValidationGroup = Login1.ClientID;
or
ValidationSummary1.ValidationGroup = Login1.UniqueID;
Please note that if you choose to customize the Layout Template of this control in your aspx page, you should just manually set the validation group of the validators yourself.
Such as:
and in the code-behind: