Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 3rd, 2013, 05:14 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

I don't see anything wrong with this. There's not much else I can suggest. Everything seems fine based on what you report and explain but obviously something is wrong. I just don't see what....

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old September 3rd, 2013, 05:54 PM
Authorized User
 
Join Date: Jan 2013
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
Default

OK, it's at least reassuring to know you are seeing what I am seeing--no reason for this problem. I'll let you know if I come up with a solution.
 
Old September 5th, 2013, 04:04 PM
Authorized User
 
Join Date: Jan 2013
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Got it! I don't know why this worked, but it did. You will notice in the code behind for the Login control, about two postings back, I have an empty Login1_authenticate event. Removing that empty event from the code behind has somehow unblocked the Login control. It's finally working.

I am assuming that because the event was there, code was expected--?? Again, thanks for helping me keep my sanity while trying to figure this out.
 
Old September 5th, 2013, 05:01 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Interesting, thanks for the follow up. I didn't know that authentication using the standard providers would not be executed, even if you don't set the Authenticated property to true, but only "handle" the event. I don't see a mention of this in the docs (http://msdn.microsoft.com/en-us/libr...henticate.aspx) either.

Anyway, glad you figure it out.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old October 9th, 2013, 12:47 AM
winwalk
Guest
 
Posts: n/a
Default

Do you have any custom code in that page





Similar Threads
Thread Thread Starter Forum Replies Last Post
Login control with username dropdown not working Raj BOOK: Professional ASP.NET 3.5 Security, Membership, and Role Management ISBN: 978-0-470-37930-1 1 April 6th, 2012 04:21 PM
Login Control and create user wizard is not working in hosting space ramesh ASP.NET 4 General Discussion 2 February 2nd, 2012 12:07 PM
Cannot implicitly convert type 'Login' to 'System.Web.UI.WebControls.Login' fh84 BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 1 January 23rd, 2009 11:17 AM
FileShare Login not working benjatado BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 11 July 25th, 2006 03:34 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.