Or maybe easier, why not leave Page_Load to what is was made for (load the page) and then use a Click handler to handle the button clicks? You could set up one method that handles both clicks, if you need, and then inside that method look at the sender that is passed to the method.
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
|