Understanding Server-Side Events
Server-side events are one of the fundamental changes in the ASP.NET architecture, compared to older versions of ASP. These server-side events provide for a programming model that is very similar to that of a traditional event-model Visual Basic application. The code for these events is generally stored in a separate file called a code-behind file. This allows for separation between your client and server code, making things much more organized and structured. The code-behind file simply contains everything that used to be contained within the <%%> files in your old ASP pages; however, it is strictly code without any HTML.
Now let’s see what events are available to you on the server and how you can exploit them ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access