asp.net - Login control and ValidationSummary with Master Pages -
When login control is used with masterpages, the validation summary does not show the verification message. I have set the validation group
property into login control ID.
I tried to use the approach with no luck.
thanks
Try
ValidationFirst 1. Validity Group = Login 1. ClientId;
or
ValidationMy 1 Validation Group = Login1. UNICID;
Please note that if you choose to customize the layout template of this control in your ASPX page, then you should set up your validation verification group manually.
By the way:
& lt; Asp: RequiredFieldValidator ID = "UserNameRequired" Validation Group = "Login1" />
and code-behind:
protected zero page_load (object sender, eventarges e) {validation f1. Validity group = "login1"; }
Comments
Post a Comment