ASP.NET Server Control

Why Trust Techopedia

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

Margaret Rouse
Editor

Margaret jest nagradzaną technical writerką, nauczycielką i wykładowczynią. Jest znana z tego, że potrafi w prostych słowach pzybliżyć złożone pojęcia techniczne słuchaczom ze świata biznesu. Od dwudziestu lat jej definicje pojęć z dziedziny IT są publikowane przez Que w encyklopedii terminów technologicznych, a także cytowane w artykułach ukazujących się w New York Times, w magazynie Time, USA Today, ZDNet, a także w magazynach PC i Discovery. Margaret dołączyła do zespołu Techopedii w roku 2011. Margaret lubi pomagać znaleźć wspólny język specjalistom ze świata biznesu i IT. W swojej pracy, jak sama mówi, buduje mosty między tymi dwiema domenami, w ten…