Using ASP.NET Web Server Controls

In addition to providing server-enabled HTML controls, ASP.NET provides a list of controls that provide much more enhanced functionality to developer GUI-rich, Web-based applications. As discussed earlier, these controls have become the preferred way of developing Web applications instead of (and in addition to) using the basic HTML controls (see Table 8.2).

Table 8.2. ASP.NET Web Server Controls
ASP.NET WEB SERVER CONTROLDESCRIPTIONABBREVIATED CODE SYNTAX
AdRotatorAd banner display
<asp:AdRotator id="..."
 AdvertisementFile="..."
 KeyWordFilter="..."
 Target="..."
 OnAdCreated="..."
 runat="server"/>
ButtonPush button
<asp:Button id=..."
 Text="..."
 OnClick="..."
 runat="server"/>
CalendarCalendar control, provides ...

Get Microsoft® .NET Kick Start now with O’Reilly online learning.

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