Will Page_load fire everytime is a Master Page

Gambit_NI

Active member
Joined
Jun 16, 2005
Messages
42
Location
Belfast
Programming Experience
3-5
ASP.NET 2.0 query......

say i have a master page, that has a TreeView that is populated on the page load of the master page.

when i select an item in the tree view it is then meant to load the corresponding page into the ContentHolder

my question is, can you load the corresponding page without the page_load in the master page firing again??

Cheers,
Craig
 
I don't think that is possible because the master page is the basis for the entire page. Why don't you want the master page to fire? You can have more than one masterpage and you can also embed one masterpage inside another.
 
the idea was, that we have a treeview that is always present (on the master page) this is database driven dependant on the user logged in. so it would populate on page_load - but i only wanted it to run once!!

anyhow we've scrapped the idea of using 2005 for this project as there are no 3rd party combo's yet (AutoComplete)

Cheers,
Craig
 
Back
Top