Getting to Know the Basic Web Forms Controls

The basic Web Forms controls are the ones that directly correspond to regular HTML elements. The controls we used in the previous chapter were examples of basic controls. The Label control was rendered to a span element, and the TextBox and Button controls were rendered to input elements whose type values were text and submit, respectively.

You could work directly with the HTML elements, but the value of the Web Forms controls is that you can benefit from the Web Forms property and event support. With this support, you can configure controls using property sheets and to respond to events when the user interacts with the controls.

Table 15-1 shows a list of the basic Web Forms controls and the HTML ...

Get Applied ASP.NET 4 in Context now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.