HTML Representation of Web Forms
One of the key concepts of ASP.NET technology is to provide a comfortable way to define a Web GUI and yet not require from existing browsers any extra features. ASP.NET equips programmers with a set of Web controls that run on the server and produce plain HTML output that is sent to a client's browser. We may create event handlers that run on the server and are invoked as a result of user client-side events. For the purpose of processing such events on the server, there occurs form submission, and then the event handler runs and new HTML is produced that is delivered to the client. In our Random.aspx sample the Generate function represents an event handler of the Generate New Number button Click event.