asp.net - Can a Page.PrePrender event be fired before Page.Load event handler called return? -


A pages. The prerender event is guaranteed to be removed after the page. Code> Event has been removed. But is it guaranteed to be removed after the load event handler?

The more general question is whether the ASP.Net guarantees the life cycle of the event on the page, that each event is removed only after the pre-returned or the events can be removed, While the previous is still executed?

If there are some custom events like DataBound in the previous event, how can the answer change? Can such an event be executed in parallel with any other phenomenon in the Page Lifecycle?

Yes, synchronous one after the events. Events are handled in a thread, so there can not be two events for the same page running at the same time (if an event calls "sub-events", but then "sub-event" "when Till it does not continue to run).


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -