Solved

Parent Page calls Page_Load before Components

Posted on 2004-08-26
2
160 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 250 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

707 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now