Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution 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 March 3rd, 2004, 12:14 PM
Registered User
 
Join Date: Mar 2004
Location: cardiff, , United Kingdom.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Page Base Load event order

In the login page a cast is made in the default method to turn the context user into an site identity. This relies on the page_load event in the base class turning the contect.user into a site principle.

It appears that the page_load event in the base class is not triggered until the page_load method of the webform has completed though. I can't see how this can be got round using the base page model.

There seem to be a few posts about this on the forum but no solution that I have been able to make work.

Any suggestions would be greatly appreciated

Joe

 
Old March 3rd, 2004, 10:50 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Atlanta, Georgia, USA.
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I think this is the issue discussed in the VB.NET porting document included with the VB.NET source code download.

Doc name = "Wrox Website Programming Book Notes.doc"

Look in the section "PhilePage Inheritance"
 
Old March 3rd, 2004, 11:19 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Atlanta, Georgia, USA.
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

also check this section in the same document:
"Accounts.Web"
 
Old March 4th, 2004, 08:37 AM
Registered User
 
Join Date: Mar 2004
Location: cardiff, , United Kingdom.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks. I should have read that document more closer. Thats sorted it out completely






Similar Threads
Thread Thread Starter Forum Replies Last Post
flash button not causing page load event olambe Flash (all versions) 3 June 22nd, 2007 10:17 PM
Strange problem in page load event software_developer_kk ASP.NET 1.0 and 1.1 Professional 1 September 13th, 2005 12:51 PM
Child Page Problem with Handles My.Base Load bekim BOOK: ASP.NET Website Programming Problem-Design-Solution 1 October 4th, 2004 09:30 AM
Page Load event qadeer05 ASP.NET 1.0 and 1.1 Basics 5 July 19th, 2004 08:57 AM
flash button not causing page load event olambe BOOK: ASP.NET Website Programming Problem-Design-Solution 1 June 27th, 2004 09:02 PM





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