M
msnews.microsoft.com
It appears myButton_OnClick is triggering in my user control AFTER its
parent's Page_Load already runs. Is there a way to make the parent Page_Load
to run afterwards?
I'm changing a session variable when a user clicks on a button in a user
control. The parent page reads in the session variable. Obviously, this
isn't going to work if the parent has already done its thing.
I'm looking for an alternative, but adding code to every page negates the
reason for using the user control in the first place: re-use!
-Max
parent's Page_Load already runs. Is there a way to make the parent Page_Load
to run afterwards?
I'm changing a session variable when a user clicks on a button in a user
control. The parent page reads in the session variable. Obviously, this
isn't going to work if the parent has already done its thing.
I'm looking for an alternative, but adding code to every page negates the
reason for using the user control in the first place: re-use!
-Max