Solved

Login Validation

Posted on 2009-04-06
3
176 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
.net and XML report from SCCM 5 20
How to set UNMASK permission only to only one table in SQL Server 2016 ? 11 75
SQL Help 27 43
Query Help - MSSQL - Averages 5 25
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

785 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