>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
-------------------------
Ok.... so how would the Page_Load know what it was that got it there?
If I wanted the Page_Load to know what it was that got it there, would I have to set a session variable in the Post-back event AND call Page_Load from within my Post-back event?
Rick
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only