Solved

Login Validation

Posted on 2009-04-06
3
179 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

'Between' is such a common word we rarely think about it but in SQL it has a very specific definition we should be aware of. While most database vendors will have their own unique phrases to describe it (see references at end) the concept in common …
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

724 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