?
Solved

Login Validation

Posted on 2009-04-06
3
Medium Priority
?
183 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 2000 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

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

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

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 shares a stored procedure to retrieve permissions for a given user on the current database or across all databases on a server.
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

850 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