D
Daves
I am using the 2.0 App_Code folder to have a common, global class for every
aspx page to access and use. I need to have a common "MainTitle" string
variable to read/write and which finally the MasterPage PreRender event code
parses to decide if a page title should be rendered.
While I can instantiate this class in the MasterPage code it means that the
instance that the aspx pages access is a different one and so they are not
talking to each other. My question is - how can I have a common access to
this class instance, both from MasterPage and aspx pages?
aspx page to access and use. I need to have a common "MainTitle" string
variable to read/write and which finally the MasterPage PreRender event code
parses to decide if a page title should be rendered.
While I can instantiate this class in the MasterPage code it means that the
instance that the aspx pages access is a different one and so they are not
talking to each other. My question is - how can I have a common access to
this class instance, both from MasterPage and aspx pages?