Solved

Login Validation

Posted on 2009-04-06
3
173 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Editing XSL files, 2 18
Need to Modify a Script I found 5 75
.Net application crashing 6 19
Round a string to two digits 12 23
If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This video discusses moving either the default database or any database to a new volume.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

772 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now