ASP.NET Server Controls

A control is a reusable piece of software functionality that usually provides a visible interface. Server controls are those controls that run on a server (vs. Windows Forms controls).

In addition to using <% %> to code blocks to program dynamic content, Web Forms pages developer can use ASP.NET server controls to generate HTML elements.

Server controls are declared within an .aspx file using custom tags or intrinsic HTML tags that contain a runat=””server” attribute value.

Some examples of server controls declarations are: …. …… …….



Back to top