Solved

Login Validation

Posted on 2009-04-06
3
177 Views
Last Modified: 2013-11-26
Hi, I'm using the default user tables, objects from VS.NET and eveything works fine. I was looking into the validation and noticed the automatic controls are lacking messages when the login has failed. Any way to detect this and show it in a validator summary (using msgbox) ?
How can I do this ? Thanks
0
Comment
Question by:GPSAddict
  • 2
3 Comments
 
LVL 41

Expert Comment

by:guru_sami
ID: 24081769
not sure If i get it correct...
But in the designView mode Select the Login Control ..Click the small arrow on top right conner and Select "Conver to Template".
Then Switch back to Source View.
Now you will see the markup for the Login Control. You can add your ValidationSummary control here and specify the Appropriate ValidationGroup.
0
 

Author Comment

by:GPSAddict
ID: 24082991
Yep I can check with required fields and other sorts of validation. What I need however is to catch a response back from the server if the login process has failed and throm a msgbox ! How can I do this ? Thanks
0
 
LVL 41

Accepted Solution

by:
guru_sami earned 500 total points
ID: 24089883
I see...how about capturing LoginError event of the LoginControl and do something in there....
just an idea: http://aspnet.4guysfromrolla.com/articles/050306-1.aspx

Sorry for a vauge reply but thats what I could think of.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SubQuery link 4 36
jquery + C#.net radiobuttonlist 3 30
Please explain purpose of GZIP 4 37
Groupbox Control ? 2 19
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
I'm trying, I really am. But I've seen so many wrong approaches involving date(time) boundaries I despair about my inability to explain it. I've seen quite a few recently that define a non-leap year as 364 days, or 366 days and the list goes on. …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question