Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
System.Web.UI.WebControls Namespace

The System.Web.UI.WebControls namespace contains classes that allow you to create Web server controls on a Web page. Web server controls run on the server and include form controls such as buttons and text boxes. They also include special-purpose controls such as a calendar. Because Web server controls run on the server, you can programmatically control these elements. Although Web server controls are rendered as HTML, their object model does not necessarily reflect HTML syntax.

The System.Web.UI.WebControls namespace contains classes that are rendered as HTML tags, such as the TextBox control and the ListBox control. The namespace also contains classes that are not rendered on the Web page, but support data operations, such as the SqlDataSource and ObjectDataSource classes. Other controls, such as the GridView and DetailsView controls, support data display and editing. The WebControl class serves as the base class for many of the classes in the System.Web.UI.WebControls namespace.

  ClassDescription
AccessDataSourceRepresents a Microsoft Access database for use with data-bound controls.
AccessDataSourceViewSupports the AccessDataSource control and provides an interface for data-bound controls to perform data retrieval using Structured Query Language (SQL) against a Microsoft Access database.
AdCreatedEventArgsProvides data for the AdCreated event of the AdRotator control. This class cannot be inherited.
AdRotatorDisplays an advertisement banner on a Web page.
AssociatedControlConverterProvides a type converter that retrieves a list of WebControl controls in the current container.
AuthenticateEventArgsProvides data for the Authenticate event.
AutoGeneratedFieldRepresents an automatically generated field in a data-bound control. This class cannot be inherited.
AutoGeneratedFieldPropertiesRepresents the properties of an AutoGeneratedField object. This class cannot be inherited.
BaseCompareValidatorServes as the abstract base class for validation controls that perform typed comparisons.
BaseDataBoundControlServes as the base class for controls that bind to data using an ASP.NET data source control.
BaseDataListServes as the abstract base class for data listing controls, such as DataList and DataGrid. This class provides the methods and properties common to all data listing controls.
BaseValidatorServes as the abstract base class for validation controls.
BoundColumnA column type for the DataGrid control that is bound to a field in a data source.
BoundFieldRepresents a field that is displayed as text in a data-bound control.
BulletedListCreates a control that generates a list of items in a bulleted format.
BulletedListEventArgsProvides data for the Click event of a BulletedList control.
ButtonDisplays a push button control on the Web page.
ButtonColumnA column type for the DataGrid control that contains a user-defined button.
ButtonFieldRepresents a field that is displayed as a button in a data-bound control.
ButtonFieldBaseServes as the abstract base class for button fields, such as the ButtonField or CommandField class. The ButtonFieldBase class provides the methods and properties that are common to all button fields.
CalendarDisplays a single-month calendar that allows the user to select dates and move to the next or previous month.
CalendarDayRepresents a date in the Calendar control.
ChangePasswordProvides a user interface that enable users to change their Web site password.
CheckBoxDisplays a check box that allows the user to select a true or false condition.
CheckBoxFieldRepresents a Boolean field that is displayed as a check box in a data-bound control.
CheckBoxListCreates a multi selection check box group that can be dynamically created by binding the control to a data source.
CircleHotSpotDefines a circular hot spot region in an ImageMap control. This class cannot be inherited.
CommandEventArgsProvides data for the Command event.
CommandFieldRepresents a special field that displays command buttons to perform selecting, editing, inserting, or deleting operations in a data-bound control.
CompareValidatorCompares the value entered by the user in an input control with the value entered in another input control, or with a constant value.
CompleteWizardStepDefines the template of the final step for creating a user account with the CreateUserWizard control.
CompositeControlImplements the basic functionality required by Web controls that contain child controls.
CompositeDataBoundControlRepresents the base class for a tabular data-bound control that is composed of other server controls.
ContentHolds text, markup, and server controls to render to a ContentPlaceHolder control in a master page.
ContentPlaceHolderDefines a region for content in an ASP.NET master page.
ControlIDConverterProvides a type converter that retrieves a list of control IDs in the current container.
ControlParameterBinds the value of a property of a Control to a parameter object.
ControlPropertyNameConverterProvides a type converter that retrieves a list of property names for the current control.
CookieParameterBinds the value of a client-side HTTP cookie to a parameter object. The parameter can be used in a parameterized query or command to select, filter, or update data.
CreateUserErrorEventArgsProvides data for the CreateUserError event.
CreateUserWizardProvides a user interface for creating new Web site user accounts.
CreateUserWizardStepContains basic functionality for creating a user in a step that can be templated. This class cannot be inherited.
CustomValidatorPerforms user-defined validation on an input control.
DataBoundControlServes as the base class for all ASP.NET version 2.0 data-bound controls that display their data in list or tabular form.
DataControlCommandsThe DataControlCommands class contains public fields that all ASP.NET data-bound controls use, to promote a consistent user interface (UI). This class cannot be inherited.
DataControlFieldServes as the base class for all data control field types, which represent a column of data in tabular data-bound controls such as DetailsView and GridView.
DataControlFieldCellRepresents a cell in the rendered table of a tabular ASP.NET data-bound control, such as DetailsView or GridView.
DataControlFieldCollectionRepresents a collection of DataControlField objects that are used by data-bound controls such as GridView and DetailsView.
DataControlFieldHeaderCellIn accessibility scenarios, represents a header cell in the rendered table of a tabular ASP.NET data-bound control, such as GridView.
DataGridA data bound list control that displays the items from data source in a table. The DataGrid control allows you to select, sort, and edit these items.
DataGridColumnServes as the base class for the different column types of the DataGrid control.
DataGridColumnCollectionA collection of DataGridColumn-derived column objects that represent the columns in a DataGrid control. This class cannot be inherited.
DataGridCommandEventArgsProvides data for the CancelCommand, DeleteCommand, EditCommand, ItemCommand, and UpdateCommand events of the DataGrid control. This class cannot be inherited.
DataGridItemRepresents an item (row) in a DataGrid control.
DataGridItemCollectionRepresents a collection of DataGridItem objects in a DataGrid control.
DataGridItemEventArgsProvides data for the ItemCreated and ItemDataBound events of the DataGrid control. This class cannot be inherited.
DataGridPageChangedEventArgsProvides data for the PageIndexChanged event of the DataGrid control. This class cannot be inherited.
DataGridPagerStyleSpecifies the style for the pager of the DataGrid control. This class cannot be inherited.
DataGridSortCommandEventArgsProvides data for the SortCommand event of the DataGrid control. This class cannot be inherited.
DataKeyRepresents the primary key field or fields of a record in a data-bound control.
DataKeyArrayRepresents a collection of DataKey objects. This class cannot be inherited.
DataKeyCollectionRepresents a collection that contains the key field of each record in a data source. This class cannot be inherited.
DataListA data bound list control that displays items using templates.
DataListCommandEventArgsProvides data for the CancelCommand, DeleteCommand, EditCommand, ItemCommand, and UpdateCommand events of the DataList control. This class cannot be inherited.
DataListItemRepresents an item in a DataList control.
DataListItemCollectionRepresents the collection of DataListItem objects in the DataList control. This class cannot be inherited.
DataListItemEventArgsProvides data for the ItemCreated and ItemDataBound events of a DataList control. This class cannot be inherited.
DataPagerProvides paging functionality for data-bound controls that implement the IPageableItemContainer interface, such as the ListView control.
DataPagerCommandEventArgsProvides data for the PagerCommand event of the TemplatePagerField class.
DataPagerFieldServes as the base class for data pager field types, which represent a navigation control for the DataPager control.
DataPagerFieldCollectionRepresents a collection of DataPagerField objects that are used by the DataPager control.
DataPagerFieldCommandEventArgsProvides data for the Command event.
DataPagerFieldItemRepresents a pager field item in a DataPager control.
DayRenderEventArgsProvides data for the DayRender event of the Calendar control. This class cannot be inherited.
DetailsViewDisplays the values of a single record from a data source in a table, where each data row represents a field of the record. The DetailsView control allows you to edit, delete, and insert records.
DetailsViewCommandEventArgsProvides data for the ItemCommand event.
DetailsViewDeletedEventArgsProvides data for the ItemDeleted event.
DetailsViewDeleteEventArgsProvides data for the ItemDeleting event.
DetailsViewInsertedEventArgsProvides data for the ItemInserted event.
DetailsViewInsertEventArgsProvides data for the ItemInserting event.
DetailsViewModeEventArgsProvides data for the ModeChanging event.
DetailsViewPageEventArgsProvides data for the PageIndexChanging event.
DetailsViewPagerRowRepresents the pager row in a DetailsView control.
DetailsViewRowRepresents a row within a DetailsView control.
DetailsViewRowCollectionRepresents a collection of DetailsViewRow objects in a DetailsView control.
DetailsViewUpdatedEventArgsProvides data for the ItemUpdated event.
DetailsViewUpdateEventArgsProvides data for the ItemUpdating event.
DropDownListRepresents a control that allows the user to select a single item from a drop-down list.
EditCommandColumnA special column type for the DataGrid control that contains the Edit buttons for editing data items in each row.
EmbeddedMailObjectRepresents an item to embed in an e-mail message constructed using the MailDefinition class.
EmbeddedMailObjectsCollectionRepresents an ordered set of EmbeddedMailObject objects.
FileUploadDisplays a text box control and a browse button that enable users to select a file to upload to the server.
FontInfoEncapsulates the font properties of text. This class cannot be inherited.
FontNamesConverterConverts between a string containing a list of font names and an array of strings representing the individual names.
FontUnitConverterConverts a FontUnit to a string. It also converts a string to a FontUnit.
FormParameterBinds the value of an HTTP request Form field to a parameter object.
FormViewDisplays the values of a single record from a data source using user-defined templates. The FormView control allows you to edit, delete, and insert records.
FormViewCommandEventArgsProvides data for the ItemCommand event.
FormViewDeletedEventArgsProvides data for the ItemDeleted event.
FormViewDeleteEventArgsProvides data for the ItemDeleting event.
FormViewInsertedEventArgsProvides data for the ItemInserted event.
FormViewInsertEventArgsProvides data for the ItemInserting event.
FormViewModeEventArgsProvides data for the ModeChanging event.
FormViewPageEventArgsProvides data for the PageIndexChanging event.
FormViewPagerRowRepresents the pager row in a FormView control.
FormViewRowRepresents a row within a FormView control.
FormViewUpdatedEventArgsProvides data for the ItemUpdated event.
FormViewUpdateEventArgsProvides data for the ItemUpdating event.
GridViewDisplays the values of a data source in a table where each column represents a field and each row represents a record. The GridView control enables you to select, sort, and edit these items.
GridViewCancelEditEventArgsProvides data for the RowCancelingEdit event.
GridViewCommandEventArgsProvides data for the RowCommand event.
GridViewDeletedEventArgsProvides data for the RowDeleted event.
GridViewDeleteEventArgsProvides data for the RowDeleting event.