O'Reilly logo

Applied ASP.NET 4 in Context by Adam Freeman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required