A Look at ASP.NET Web Controls
ASP.NET Web controls are server-side controls that can be included in the HTML portion of an ASP.NET Web page. Web controls are declared with the following syntax:
<asp:WebControlName runat="server" Property1="Value1" Property2="Value2" ... PropertyN="ValueN"></asp:WebControlName>
The semantics of Web controls are identical to HTML controls'. Each Web control has a corresponding class in the .NET Framework. When the ASP.NET engine is executing an ASP.NET Web page and comes across a Web control, it creates an instance of the correct class and sets the created object's properties to the properties specified in the Web control's markup. Also, each Web control contains a RenderControl() method that, when called, produces ...
Get SAMS Teach Yourself ASP.NET in 24 Hours 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.