Rick,
>
>I thought the postback happened AFTER the last line of my OK button click event, but it appears it happens before the first line of my button click event.... (Can anyone confirm for me when the postback actually happens?)
>When the OK button is clicked, the page is posted back to the server after any contained validation controls on the page are processed first on the client side. When the page is posted back, the Page_Init and Page_Load events are handled server side. Then any cached events are handled. Then the event that caused the post back is finally processed, followed by the Page_Unload event.
So like this,
Page_Init
Page_Load
Cached Events
Post-back event
Page_Unload
Kendall Webb
Senior Software Engineer
MCAD.Net/MCSD.Net