Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Parent Page calls Page_Load before Components

Posted on 2004-08-26
2
Medium Priority
?
170 Views
Last Modified: 2010-04-15
Hi All,,

I have a dilema, I have a few web compunents on a page, they all have their own Page_Load function and the parent page obviously has it's own page_load function.

I populate some data in the components Page_Load function and I would then like to use it in the parent page ...

The peoblem is that the Parent Page_Load function gets called before the components ...


Any ideas how I might overcome this problem ?

Txs
Peter
0
Comment
Question by:Pete2003
2 Comments
 
LVL 1

Expert Comment

by:develc
ID: 11901377
Hello Peter,

I don't understand your problem exactly but do you already try it with Page.Response.Redirect and Request?

Good luck.
develc
0
 
LVL 37

Accepted Solution

by:
gregoryyoung earned 1000 total points
ID: 11903686
generally speaking you make methods in the controls that the parent can call to tell the controls to load ... or you put code in your properties on the controls that will force a load if they have not been loaded when the parent attempts to access data.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

877 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