Advertisement

ASP.NET Reference Manual

w3my ASP.NET server controls to provide a complete reference manual.

HTML server controls

ASP.NET HTML elements default file as text processing. In order to make these elements programmable technology, we need to add runat = "server" attribute to the HTML element. This attribute indicates that the element should be treated as a server control.

Note: All HTML server controls must be located with the runat = "server" attribute of the <form> tag inside!

Note: ASP.NET requires that all HTML elements must be properly closed and nested.

HTML Server Controls Reference Manual

Web server control

HTML server controls similar, Web server controls also created on the server, and the need runat = "server" attribute to work. However, Web server controls do not need to map any existing HTML elements, which may represent more complex elements.

Create a Web server control syntax is:

<asp:control_name id="some_id" runat="server" />

Web Server Controls Reference Manual

Validation Server Controls

Validation server controls are used to validate the data input control. If the data is not validated, an error message is displayed to the user.

Create a Validation server control syntax is:

<asp:control_name id="some_id" runat="server" />

Validation Server Controls reference