ASP.NET User Controls

Switch View :
ScriptFree
.NET Framework 4 - ASP.NET
ASP.NET User Controls

In addition to using Web server controls in your ASP.NET Web pages, you can create your own custom, reusable controls using the same techniques you use for creating ASP.NET Web pages. These controls are called user controls.

A user control is a kind of composite control that works much like an ASP.NET Web page—you can add existing Web server controls and markup to a user control, and define properties and methods for the control. You can then embed them in ASP.NET Web pages, where they act as a unit.

The topics in this section provide information on how user controls work, how to create them, and how to add them to ASP.NET Web pages.

In This Section

ASP.NET User Controls Overview
How to: Convert Web Forms Pages into ASP.NET User Controls
How to: Include a User Control in an ASP.NET Web Page
How to: Create Instances of ASP.NET User Controls Programmatically
How to: Create Templated ASP.NET User Controls
How to: Create ASP.NET User Controls
How to: Include ASP.NET User Controls in Web Pages
Walkthrough: Creating Reusable Elements with ASP.NET User Controls
Reference

UserControl

Related Sections

ASP.NET Web Server Controls

Provides links to information on working with Web server controls.

Caching Portions of an ASP.NET Page

Describes how to use user controls to create regions on an ASP.NET Web page that are cached independently of the page itself.

Community Content

AVISOFT
Textboox
can u tell me property of textbox?