ASP.net content page event called before page load
Posted on 2008-06-19
I have a master page with a content page container. On the master page I have a toolbar. When a button is clicked on the toolbar I raise an event and then capture it in my content page. This part works perfectly. My problem is that Iwoudl like to perform some action on the content page based on whcih toolbat buttobn the user clicks on the master page. For example, I woudl liek to set some text on the content page to what the text is on the toolbar button they click. My problem is that the page load event of the content page is called before my custom event handler. So when I set the text on the form it never gets updated.
Is there any way areound this?