It depends where you emit the code for assigning these properties.
Different results for content page, master page.
--
Madhur
It seems like each page load fires the page load event (non-postback) of the
Master Page
What I'm running into is that when I click a button on one page (which has
the properties loaded), I load a couple of sessions, and then
response.redirect to a second page.
In that second page's load event, I access one of the properties, but it is
'Nothing'. On further testing, apparently, the Page_Load of the content page
is actually firing BEFORE the Page_load event of the Master Page. So the
properties in the Master Page are not accessible to the content page
Once everything's loaded, I can access the properties at any time - no
problem
However, I need to access the Master Page's properties when the content page
is loaded
Is this possible, or am I missing something?
> It depends where you emit the code for assigning these properties.
> Different results for content page, master page.
[quoted text clipped - 6 lines]
>> current Content pages, will these properties be persisted through every
>> page, until the browser is closed?
clintonG - 24 Apr 2008 22:18 GMT
// Reference properties from a previous page.
cross-page postback overview site:msdn2.microsoft.com
> It seems like each page load fires the page load event (non-postback) of
> the Master Page
[quoted text clipped - 26 lines]
>>> current Content pages, will these properties be persisted through every
>>> page, until the browser is closed?