Solved

Parent Page calls Page_Load before Components

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Importing CSV file encoded in UTF-8 in SQL SERVER 2008 using BULK INSERT 5 52
Install Problem 13 30
How can my static class become undefined?? 8 49
HttpPostedFile 1 26
Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

770 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