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