Solved

Parent Page calls Page_Load before Components

Posted on 2004-08-26
2
165 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Why use this lambda? 12 98
I need help adding validation to my MVC.Net view 6 37
asp.net, radiobuttonlist, c# 3 70
What are MicroServices? 4 69
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…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

710 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