ASP.NET Server Control

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.

Advertisements

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.
Advertisements

Related Terms

Latest DevOps Terms

Related Reading

Margaret Rouse

Margaret Rouse is an award-winning technical writer and teacher known for her ability to explain complex technical subjects to a non-technical, business audience. Over the past twenty years her explanations have appeared on TechTarget websites and she's been cited as an authority in articles by the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine and Discovery Magazine.Margaret's idea of a fun day is helping IT and business professionals learn to speak each other’s highly specialized languages. If you have a suggestion for a new definition or how to improve a technical explanation, please email Margaret or contact her…