ASP.NET login control - can I add the FailureText as an item in a ValidationSummary?
- by tkahn
I'm currently working with the ASP.NET login control. I can set a custom failure text and I can add a literal on the page where the failure text is displayed if the login fails. I also have a validation summary on the page in which I collect all errors that can occur (for the moment it just validates that the user has entered a login name and a password.
It would be really nice if I could add the failure text of the login control as an item in the validation summary, but I'm not sure if this is even possible?
Hoping that the massive brainpower of stackoverflow can give me some pointers?
Thanks!
/Thomas Kahn
PS. I'm coding in C#.