What Does ASP.NET Server Control Mean?
An ASP.NET server control is a tag written in a Web page to represent a programmable server-side object used for displaying a user interface element in a Web page.
ASP.NET server controls are tags that can be understood by the server. They are coded in a .aspx file and expose properties, methods and events of the control that can be accessed from server-side code.
Techopedia Explains ASP.NET Server Control
ASP.NET is a Web application framework used to develop dynamic websites and Web applications. An ASP.NET server control is a specific control class of the .NET framework, which is embedded in ASP.NET pages. It represents a user interface (UI) element on a page, such as a text box or command button.
Server controls in the ASP.NET page framework are designed to provide a structured programming model for Web-based applications. Unlike the code in ASP (an earlier version of ASP.NET), these controls allow for the separation of execution code from the HTML. This helps to separate the presentation from the content by making use of reusable UI controls, which contain common functionality and are better able to maintain the code.
The key features of the built-in server controls are:
- Automatic state management, where values are retained across round trips to the server
- Access to object values without using request objects
- Handling events for specific actions in server-side code
- A simple approach for producing a dynamic Web page with complex rendering and behavior
- Using adaptive rendering to implement "write once render anywhere." Different markup and layout are created to render anywhere for any type of device or browser.