Link to home
Start Free TrialLog in
Avatar of cjrbus
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.
ASKER CERTIFIED SOLUTION
Avatar of Dale Burrell
Dale Burrell
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of cjrbus
cjrbus

ASKER

Thank you we just used delegates... but this does answer my question
Avatar of cjrbus

ASKER

thanks!