cjrbus
asked on
How do I run masterpage pageload before child pageload (i want to access datamembers)
In our ASP.NET project, we have a master page which constructs certain objects in its Page_Load method.
We have another page that uses this Master page as its master page, which requires the objects constructed in the Page_Load method of the master page.
We have performed experiments which indicate that the Page_Load method of the child is being run before the Page_Load of the master page.
How would you recommend accessing those datamembers?
Note: Constructing the desired objects in the constructor of the master page is not an option, because we require data passed into Page_Load.
We have another page that uses this Master page as its master page, which requires the objects constructed in the Page_Load method of the master page.
We have performed experiments which indicate that the Page_Load method of the child is being run before the Page_Load of the master page.
How would you recommend accessing those datamembers?
Note: Constructing the desired objects in the constructor of the master page is not an option, because we require data passed into Page_Load.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks!
ASKER