M
Matty J
Hi.
I have:
- a master page base class
- a master page (class) which inherits from the master page base class
- a content page base class
- a content page (class) which inherits from the content page base
class.
The master page base class has a function in it which sets the value
of an object after doing a request to the database (based on domain
name).
I then want the content page (and controls on it) to be able to access
the value (so the website template / master page can be set based on
domain name).
I'm having trouble getting the correct order of events, including the
event placement of the function in the master page, so that the
content page can access the set variable.
If anyone can help me with the events in each page that'd be greatly
appreciated - currently I'm just guessing and not getting very far. I
looked at this article but I haven't been able to ascertain quite the
correct order in the 4 different classes (and where and when I should
be overriding events and/or calling events in the base class eg.
base.Page_PreInit etc.): http://msdn.microsoft.com/en-us/library/dct97kc3.aspx
Cheers
Matt
I have:
- a master page base class
- a master page (class) which inherits from the master page base class
- a content page base class
- a content page (class) which inherits from the content page base
class.
The master page base class has a function in it which sets the value
of an object after doing a request to the database (based on domain
name).
I then want the content page (and controls on it) to be able to access
the value (so the website template / master page can be set based on
domain name).
I'm having trouble getting the correct order of events, including the
event placement of the function in the master page, so that the
content page can access the set variable.
If anyone can help me with the events in each page that'd be greatly
appreciated - currently I'm just guessing and not getting very far. I
looked at this article but I haven't been able to ascertain quite the
correct order in the 4 different classes (and where and when I should
be overriding events and/or calling events in the base class eg.
base.Page_PreInit etc.): http://msdn.microsoft.com/en-us/library/dct97kc3.aspx
Cheers
Matt