ASP.NET server controls are components that run on the server and encapsulate user-interface and other related functionality. They are used in ASP.NET pages and in ASP.NET code-behind classes. This section contains background information and examples to help you develop your own ASP.NET server controls.
Note The terms ASP.NET page and Web Forms page are used interchangeably in the documentation.
In This Section
- ASP.NET Server Control Development Basics
- Provides an introduction to developing ASP.NET server controls.
- ASP.NET Server Controls Hierarchy
- Provides information about the controls hierarchy.
- Control Execution Lifecycle
- Explains the sequence in which control logic is executed.
- Properties in ASP.NET Server Controls
- Describes how you can define or override properties.
- Methods in ASP.NET Server Controls
- Lists the methods (inherited from Control) that are commonly overridden by control developers.
- Events in ASP.NET Server Controls
- Describes how you can define events and handle inherited events in a control.
- Processing Postback Data
- Describes how to program a control to handle postback data.
- Capturing Postback Events
- Describes how to program a control to receive a postback event.
- Bubbling an Event
- Describes event bubbling in ASP.NET controls.
- Generating Client-Side Script for Postback
- Describes how to emit client-side script that initiates postback.
- Rendering an ASP.NET Server Control
- Describes how to render HTML to a client browser.
- Maintaining State in a Control
- Discusses state management across round trips.
- Developing a Composite Control
- Shows how to combine existing controls into a new control using class composition.
- Developing a Templated Control
- Explains how to develop a control that allows its visual representation to be customized with user-supplied templates.
- Developing a Templated Data-Bound Control
- Shows how to develop a control with properties that are bound to a data source.
- Styles in Server Controls
- Shows how a control can expose styles as strongly typed properties.
- Client-Side Functionality in a Server Control
- Shows how a server control can encapsulate client-side functionality by emitting client-side script.
- Developing a Validator Control
- Describes how to author a control that performs client-side and server-side validation.
- Control Parsing, ParseChildrenAttribute, and Control Builders
- Describes how a control developer can customize how a control is parsed when used declaratively on an ASP.NET page.
- Server Control Samples
- Provides links to simple and complex server control samples discussed in this section.
Related Sections
- Design-Time Attributes for Components
- Lists metadata attributes that you need to apply to your components and controls so that visual designers will display them correctly at design time.
- Enhancing Design-Time Support
- Describes how to implement classes such as editors and designers that provide design-time support.
- Licensing Components and Controls
- Describes how to implement licensing in your control or component.
- Introduction to Web Forms
- Provides an overview of ASP.NET page development.
- ASP.NET Server Controls
- Provides an overview of the ASP.NET server controls that ship with this release.