Skip to Content
Microsoft® .NET Kick Start
book

Microsoft® .NET Kick Start

by Hitesh Seth
December 2003
Intermediate to advanced content levelIntermediate to advanced
504 pages
10h 42m
English
Sams
Content preview from Microsoft® .NET Kick Start

Using ASP.NET HTML Controls

We have been talking a lot about ASP.NET controls. A detailed discussion of each ASP.NET Server control goes beyond the scope of this book, but this discussion should get you familiarized with some key highlights of the controls. As previously mentioned, ASP.NET enriches HTML controls to be utilized in a server-based programming model. Table 8.1 presents a quick look at some of the HTML controls.

Table 8.1. ASP.NET HTML Controls
HTML SERVER CONTROLDESCRIPTIONABBREVIATED CODE SYNTAX
HtmlAnchorLink control, corresponds to the HTML <a> tag
<a id="id1" href="..." name="..."
  OnServerClick="..."
  runat="server">text</a>
HtmlButtonButton control, corresponds to the HTML <button> tag
 <button id="..." OnServerClick="..." runat="server">button ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Professional C# 5.0 and .NET 4.5.1

Professional C# 5.0 and .NET 4.5.1

Christian Nagel, Jay Glynn, Morgan Skinner
ASP.NET 4 Unleashed

ASP.NET 4 Unleashed

Stephen Walther, Kevin Hoffman, Nate Dudek
C# 4.0 Unleashed

C# 4.0 Unleashed

Bart De Smet

Publisher Resources

ISBN: 0672325748Purchase book