Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Professional ASP.NET 2.0 Server Control and Component Development ISBN: 978-0-471-79350-2
This is the forum to discuss the Wrox book Professional ASP.NET 2.0 Server Control and Component Development by Dr. Shahram Khosravi; ISBN: 9780471793502
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET 2.0 Server Control and Component Development ISBN: 978-0-471-79350-2 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 October 12th, 2006, 05:27 PM
Registered User
 
Join Date: Oct 2006
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Page_Load question

First of all - I have to say I am really enjoying this book.
This is, I think, the 4th ASP book I've bought and I keep going back to my other books thinking "Why didn't they talk about this?". It is very thorough and a good read.

Having said that - I have a pseudo-newbie question that I don't (still) understand);

If I have a user control on a page (that has a master page), I find that the page's Page_Load gets called a number of times. Is something wired up wrong and why exactly is it doing this?

(I confess to have not completed the entire 1000+ pages yet but even skimming through the remaining parts I don't see this topic).

Thanks,
Wayne.

 
Old October 13th, 2006, 03:14 AM
Wrox Author
 
Join Date: Aug 2006
Location: , , .
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi, Wayne,
I'm glad you're enjoying the book. Thanks for your comments about the book. Could you please post your code?

Thanks,
Shahram

-----------------------
Shahram Khosravi, Ph.D.
Author of Professional ASP.NET 2.0 Server Control and Component Development
 
Old October 13th, 2006, 09:35 AM
Registered User
 
Join Date: Oct 2006
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

oops, a code post - should have done that without being asked...

Actually the most recent issue was when trying somebody else's control:
http://www.c-sharpcorner.com/Code/20...mageCanvas.asp (I believe it is a fairly small & clean example with a aspx in the zip)
I have had this problem elsewhere - but I forget which project I had that issue in so I'll suggest try out this link and the problem is probably the same in my other situation.

I could have bugged the author of that other code about the issue - but then I wouldn't have thought of the opportunity to give kudos about the book
:)

 
Old October 27th, 2006, 03:35 PM
Registered User
 
Join Date: Oct 2006
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

FYI
Not exactly what I was trying to do - but I did find an example of a control that does work well http://www.codeproject.com/aspnet/CaptchaControl.asp
This control works well.

The other post does say (at the bottom) it was not the right way to do things.
 
Old November 6th, 2006, 03:54 AM
Authorized User
 
Join Date: Nov 2006
Location: , , .
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yeah ,me too.
It's so nice a book!





Similar Threads
Thread Thread Starter Forum Replies Last Post
page_load() hassel vijayapteET ASP.NET 1.0 and 1.1 Basics 2 October 6th, 2005 01:30 PM
Page_Load not working! New2ASPnet General .NET 6 July 28th, 2004 01:53 PM
forcing a page_load ? Rashe ASP.NET 1.0 and 1.1 Basics 2 February 16th, 2004 10:53 AM
force Page_Load miguel.ossa ASP.NET 1.0 and 1.1 Basics 7 January 23rd, 2004 06:04 AM





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