Server Controls
If you have already worked with HTML, you should be familiar with controls such as the text box, buttons, check boxes, radio buttons, and so forth. Each of them is represented on a web page as a visual control. These HTML controls are processed completely on the client side of a web application. So, only the browser can work with and represent them. But you could make these controls available to the server side of an application by adding one attribute: runat. You set the value of this attribute to server. In this case, on the server side of the application, you could have access to these controls through variables. So, you could access all public properties and methods of these variables. After you've finished using these controls, ...
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.
Read now
Unlock full access