Understanding How the Web Controls Are Rendered

Recall from our discussions in Hour 1, “Getting Started with ASP.NET,” and Hour 2, “Understanding the ASP.NET Programming Model,” that when an ASP.NET Web page is requested by a Web visitor, the ASP.NET engine executes it, returning the HTML that is then sent to the user's Web browser. The HTML returned by the ASP.NET engine is the HTML produced by the source code portion along with the HTML markup in the HTML portion.

The HTML portion of an ASP.NET Web page can contain both static HTML and Web controls. In the FinancialCalculator.aspx example, we used a number of Web controls, including TextBox Web controls, a Button Web control, and a Label Web control. When the ASP.NET engine executes an ASP.NET ...

Get SAMS Teach Yourself ASP.NET in 24 Hours now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.