Bewerken

Share via


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.

Classes

AccessDataSource

Represents a Microsoft Access database for use with data-bound controls.

AccessDataSourceView

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

AdCreatedEventArgs

Provides data for the AdCreated event of the AdRotator control. This class cannot be inherited.

AdRotator

Displays an advertisement banner on a Web page.

AssociatedControlConverter

Provides a type converter that retrieves a list of WebControl controls in the current container.

AuthenticateEventArgs

Provides data for the Authenticate event.

AutoFieldsGenerator

Represents a base class for classes that automatically generate fields for data-bound controls that use ASP.NET Dynamic Data features.

AutoGeneratedField

Represents an automatically generated field in a data-bound control. This class cannot be inherited.

AutoGeneratedFieldProperties

Represents the properties of an AutoGeneratedField object. This class cannot be inherited.

BaseCompareValidator

Serves as the abstract base class for validation controls that perform typed comparisons.

BaseDataBoundControl

Serves as the base class for controls that bind to data using an ASP.NET data source control.

BaseDataList

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

BaseValidator

Serves as the abstract base class for validation controls.

BoundColumn

A column type for the DataGrid control that is bound to a field in a data source.

BoundField

Represents a field that is displayed as text in a data-bound control.

BulletedList

Creates a control that generates a list of items in a bulleted format.

BulletedListEventArgs

Provides data for the Click event of a BulletedList control.

Button

Displays a push button control on the Web page.

ButtonColumn

A column type for the DataGrid control that contains a user-defined button.

ButtonField

Represents a field that is displayed as a button in a data-bound control.

ButtonFieldBase

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

Calendar

Displays a single-month calendar that enables the user to select dates and move to the next or previous month.

CalendarDay

Represents a date in the Calendar control.

CallingDataMethodsEventArgs

Provides data for the CallingDataMethods event.

ChangePassword

Provides a user interface that enable users to change their Web site password.

CheckBox

Displays a check box that allows the user to select a true or false condition.

CheckBoxField

Represents a Boolean field that is displayed as a check box in a data-bound control.

CheckBoxList

Creates a multi selection check box group that can be dynamically created by binding the control to a data source.

CircleHotSpot

Defines a circular hot spot region in an ImageMap control. This class cannot be inherited.

CommandEventArgs

Provides data for the Command event.

CommandField

Represents a special field that displays command buttons to perform selecting, editing, inserting, or deleting operations in a data-bound control.

CompareValidator

Compares the value entered by the user in an input control with the value entered in another input control, or with a constant value.

CompleteWizardStep

Defines the template of the final step for creating a user account with the CreateUserWizard control.

CompositeControl

Implements the basic functionality required by Web controls that contain child controls.

CompositeDataBoundControl

Represents the base class for a tabular data-bound control that is composed of other server controls.

Content

Holds text, markup, and server controls to render to a ContentPlaceHolder control in a master page.

ContentPlaceHolder

Defines a region for content in an ASP.NET master page.

ContextDataSource

Represents a base class for data source controls.

ContextDataSourceContextData

Represents the context data for the ContextDataSource class.

ContextDataSourceView

Supports the ContextDataSource control and provides an interface for data-bound controls to perform data operations.

ControlIDConverter

Provides a type converter that retrieves a list of control IDs in the current container.

ControlParameter

Binds the value of a property of a Control to a parameter object.

ControlPropertyNameConverter

Provides a type converter that retrieves a list of property names for the current control.

CookieParameter

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

CreateUserErrorEventArgs

Provides data for the CreateUserError event.

CreateUserWizard

Provides a user interface for creating new Web site user accounts.

CreateUserWizardStep

Contains basic functionality for creating a user in a step that can be templated. This class cannot be inherited.

CreatingModelDataSourceEventArgs

Provides data for the CreatingModelDataSource and CreatingModelDataSource events.

CustomValidator

Performs user-defined validation on an input control.

DataBoundControl

Serves as the base class for all ASP.NET version 2.0 data-bound controls that display their data in list or tabular form.

DataControlCommands

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

DataControlField

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

DataControlFieldCell

Represents a cell in the rendered table of a tabular ASP.NET data-bound control, such as DetailsView or GridView.

DataControlFieldCollection

Represents a collection of DataControlField objects that are used by data-bound controls such as GridView and DetailsView.

DataControlFieldHeaderCell

In accessibility scenarios, represents a header cell in the rendered table of a tabular ASP.NET data-bound control, such as GridView.

DataGrid

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

DataGridColumn

Serves as the base class for the different column types of the DataGrid control.

DataGridColumnCollection

A collection of DataGridColumn-derived column objects that represent the columns in a DataGrid control. This class cannot be inherited.

DataGridCommandEventArgs

Provides data for the CancelCommand, DeleteCommand, EditCommand, ItemCommand, and UpdateCommand events of the DataGrid control. This class cannot be inherited.

DataGridItem

Represents an item (row) in a DataGrid control.

DataGridItemCollection

Represents a collection of DataGridItem objects in a DataGrid control.

DataGridItemEventArgs

Provides data for the ItemCreated and ItemDataBound events of the DataGrid control. This class cannot be inherited.

DataGridPageChangedEventArgs

Provides data for the PageIndexChanged event of the DataGrid control. This class cannot be inherited.

DataGridPagerStyle

Specifies the style for the pager of the DataGrid control. This class cannot be inherited.

DataGridSortCommandEventArgs

Provides data for the SortCommand event of the DataGrid control. This class cannot be inherited.

DataKey

Represents the primary key field or fields of a record in a data-bound control.

DataKeyArray

Represents a collection of DataKey objects. This class cannot be inherited.

DataKeyCollection

Represents a collection that contains the key field of each record in a data source. This class cannot be inherited.

DataList

A data bound list control that displays items using templates.

DataListCommandEventArgs

Provides data for the CancelCommand, DeleteCommand, EditCommand, ItemCommand, and UpdateCommand events of the DataList control. This class cannot be inherited.

DataListItem

Represents an item in a DataList control.

DataListItemCollection

Represents the collection of DataListItem objects in the DataList control. This class cannot be inherited.

DataListItemEventArgs

Provides data for the ItemCreated and ItemDataBound events of a DataList control. This class cannot be inherited.

DataPager

Provides paging functionality for data-bound controls that implement the IPageableItemContainer interface, such as the ListView control.

DataPagerCommandEventArgs

Provides data for the PagerCommand event of the TemplatePagerField class.

DataPagerField

Serves as the base class for data pager field types, which represent a navigation control for the DataPager control.

DataPagerFieldCollection

Represents a collection of DataPagerField objects that are used by the DataPager control.

DataPagerFieldCommandEventArgs

Provides data for the Command event.

DataPagerFieldItem

Represents a pager field item in a DataPager control.

DataSourceSelectResultProcessingOptions

Encapsulates the options required for processing a select method result from a select operation.

DayRenderEventArgs

Provides data for the DayRender event of the Calendar control. This class cannot be inherited.

DetailsView

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

DetailsViewCommandEventArgs

Provides data for the ItemCommand event.

DetailsViewDeletedEventArgs

Provides data for the ItemDeleted event.

DetailsViewDeleteEventArgs

Provides data for the ItemDeleting event.

DetailsViewInsertedEventArgs

Provides data for the ItemInserted event.

DetailsViewInsertEventArgs

Provides data for the ItemInserting event.

DetailsViewModeEventArgs

Provides data for the ModeChanging event.

DetailsViewPageEventArgs

Provides data for the PageIndexChanging event.

DetailsViewPagerRow

Represents the pager row in a DetailsView control.

DetailsViewRow

Represents a row within a DetailsView control.

DetailsViewRowCollection

Represents a collection of DetailsViewRow objects in a DetailsView control.

DetailsViewRowsGenerator

Provides a way to automatically generate fields that use ASP.NET Dynamic Data features for the DetailsView control.

DetailsViewUpdatedEventArgs

Provides data for the ItemUpdated event.

DetailsViewUpdateEventArgs

Provides data for the ItemUpdating event.

DropDownList

Represents a control that allows the user to select a single item from a drop-down list.

EditCommandColumn

A special column type for the DataGrid control that contains the Edit buttons for editing data items in each row.

EmbeddedMailObject

Represents an item to embed in an email message constructed using the MailDefinition class.

EmbeddedMailObjectsCollection

Represents an ordered set of EmbeddedMailObject objects.

EntityDataSource

Represents an Entity Data Model (EDM) to data-bound controls in an ASP.NET application.

EntityDataSourceChangedEventArgs

Provides data for the Inserted, Updated, and Deleted events.

EntityDataSourceChangingEventArgs

Provides data for the Inserting, Updating, and Deleting events.

EntityDataSourceContextCreatedEventArgs

Provides data for the ContextCreated event.

EntityDataSourceContextCreatingEventArgs

Provides data for the ContextCreating event.

EntityDataSourceContextDisposingEventArgs

Provides data for the ContextDisposing event.

EntityDataSourceSelectedEventArgs

Provides data for the Selected event.

EntityDataSourceSelectingEventArgs

Provides data for the Selecting event.

EntityDataSourceValidationException

Represents errors that occur when validating properties of a dynamic data source.

EntityDataSourceView

Supports the EntityDataSource control and provides an interface for data-bound controls to perform queries and other operations against entity data.

FileUpload

Displays a text box control and a browse button that enable users to select a file to upload to the server.

FontInfo

Encapsulates the font properties of text. This class cannot be inherited.

FontNamesConverter

Converts between a string containing a list of font names and an array of strings representing the individual names.

FontUnitConverter

Converts a FontUnit to a string. It also converts a string to a FontUnit.

FormParameter

Binds the value of an HTTP request Form field to a parameter object.

FormView

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

FormViewCommandEventArgs

Provides data for the ItemCommand event.

FormViewDeletedEventArgs

Provides data for the ItemDeleted event.

FormViewDeleteEventArgs

Provides data for the ItemDeleting event.

FormViewInsertedEventArgs

Provides data for the ItemInserted event.

FormViewInsertEventArgs

Provides data for the ItemInserting event.

FormViewModeEventArgs

Provides data for the ModeChanging event.

FormViewPageEventArgs

Provides data for the PageIndexChanging event.

FormViewPagerRow

Represents the pager row in a FormView control.

FormViewRow

Represents a row within a FormView control.

FormViewUpdatedEventArgs

Provides data for the ItemUpdated event.

FormViewUpdateEventArgs

Provides data for the ItemUpdating event.

GridView

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

GridViewCancelEditEventArgs

Provides data for the RowCancelingEdit event.

GridViewColumnsGenerator

Provides a way to automatically generate fields that use ASP.NET Dynamic Data features for the GridView control.

GridViewCommandEventArgs

Provides data for the RowCommand event.

GridViewDeletedEventArgs

Provides data for the RowDeleted event.

GridViewDeleteEventArgs

Provides data for the RowDeleting event.

GridViewEditEventArgs

Provides data for the RowEditing event.

GridViewPageEventArgs

Provides data for the PageIndexChanging event.

GridViewRow

Represents an individual row in a GridView control.

GridViewRowCollection

Represents a collection of GridViewRow objects in a GridView control.

GridViewRowEventArgs

Provides data for the RowCreated and RowDataBound events.

GridViewSelectEventArgs

Provides data for the SelectedIndexChanging event.

GridViewSortEventArgs

Provides data for the Sorting event.

GridViewUpdatedEventArgs

Provides data for the RowUpdated event.

GridViewUpdateEventArgs

Provides data for the RowUpdating event.

HiddenField

Represents a hidden field used to store a non-displayed value.

HierarchicalDataBoundControl

Serves as the base class for all ASP.NET version 2.0 data-bound controls that display their data in hierarchical form.

HotSpot

Implements the basic functionality common to all hot spot shapes.

HotSpotCollection

Represents a collection of HotSpot objects inside an ImageMap control. This class cannot be inherited.

HyperLink

A control that displays a link to another Web page.

HyperLinkColumn

A column type for the DataGrid control that contains a hyperlink for each item in the column.

HyperLinkControlBuilder

Interacts with the parser to build a HyperLink control.

HyperLinkField

Represents a field that is displayed as a hyperlink in a data-bound control.

Image

Displays an image on a Web page.

ImageButton

A control that displays an image and responds to mouse clicks on the image.

ImageField

Represents a field that is displayed as an image in a data-bound control.

ImageMap

Creates a control that displays an image on a page. When a hot spot region defined within the ImageMap control is clicked, the control either generates a postback to the server or navigates to a specified URL.

ImageMapEventArgs

Provides data for the Click event of an ImageMap control.

Label

Represents a label control, which displays text on a Web page.

LabelControlBuilder

Interacts with the parser to build a Label control.

LinkButton

Displays a hyperlink-style button control on a Web page.

LinkButtonControlBuilder

Interacts with the parser to build a LinkButton control.

LinqDataSource

Enables the use of Language-Integrated Query (LINQ) in an ASP.NET Web page through markup text to retrieve and modify data from a data object.

LinqDataSourceContextEventArgs

Provides data for the ContextCreating event.

LinqDataSourceDeleteEventArgs

Provides data for the Deleting event.

LinqDataSourceDisposeEventArgs

Provides data for the ContextDisposing event.

LinqDataSourceInsertEventArgs

Provides data for the Inserting event.

LinqDataSourceSelectEventArgs

Provides data for the Selecting event.

LinqDataSourceStatusEventArgs

Provides data for the ContextCreated, Deleted, Inserted, Selected, and Updated events.

LinqDataSourceUpdateEventArgs

Provides data for the Updating event.

LinqDataSourceValidationException

Describes an exception that occurred during validation of new or modified values before values are inserted, updated, or deleted by a LinqDataSource control.

LinqDataSourceView

Supports the LinqDataSource control and provides an interface for data-bound controls to perform LINQ data operations.

ListBox

Represents a list box control that allows single or multiple item selection.

ListControl

Serves as the abstract base class that defines the properties, methods, and events common for all list-type controls.

ListItem

Represents a data item in a data-bound list control. This class cannot be inherited.

ListItemCollection

A collection of ListItem objects in a list control. This class cannot be inherited.

ListItemControlBuilder

Interacts with the parser to build a ListItem control.

ListView

Displays the values of a data source by using user-defined templates. The ListView control enables users to select, sort, delete, edit, and insert records.

ListViewCancelEventArgs

Provides data for the ItemCanceling event.

ListViewCommandEventArgs

Provides data for the ItemCommand event.

ListViewDataItem

Represents an individual data item in a ListView control.

ListViewDeletedEventArgs

Provides data for the ItemDeleted event.

ListViewDeleteEventArgs

Provides data for the ItemDeleting event.

ListViewEditEventArgs

Provides data for the ItemEditing event.

ListViewInsertedEventArgs

Provides data for the ItemInserted event.

ListViewInsertEventArgs

Provides data for the ItemInserting event.

ListViewItem

Represents an individual item in a ListView control.

ListViewItemEventArgs

Provides data for the ItemCreated and ItemDataBound events.

ListViewPagedDataSource

Encapsulates the paging-related properties of a ListView control.

ListViewSelectEventArgs

Provides data for the SelectedIndexChanging event.

ListViewSortEventArgs

Provides data for the Sorting event.

ListViewUpdatedEventArgs

Provides data for the ItemUpdated event.

ListViewUpdateEventArgs

Provides data for the ItemUpdating event.

Literal

Reserves a location on the Web page to display static text.

LiteralControlBuilder

Interacts with the parser to build a Literal control.

Localize

Reserves a location on a Web page in which to display localized static text.

Login

Provides user interface (UI) elements for logging in to a Web site.

LoginCancelEventArgs

Provides data for a cancelable event.

LoginName

Displays the value of the System.Web.UI.Page.User.Identity.Name property.

LoginStatus

Detects the user's authentication state and toggles the state of a link to log in to or log out of a Web site.

LoginView

Displays the appropriate content template for a given user, based on the user's authentication status and role membership.

MailDefinition

Allows a control to create email messages from text files or strings. This class cannot be inherited.

MailMessageEventArgs

Provides data for email-related events.

Menu

Displays a menu in an ASP.NET Web page.

MenuEventArgs

Provides data for the MenuItemClick and MenuItemDataBound events of a Menu control. This class cannot be inherited.

MenuItem

Represents a menu item displayed in the Menu control. This class cannot be inherited.

MenuItemBinding

Defines the relationship between a data item and the menu item it is binding to in a Menu control. This class cannot be inherited.

MenuItemBindingCollection

Represents a collection of MenuItemBinding objects.

MenuItemCollection

Represents a collection of menu items in a Menu control. This class cannot be inherited.

MenuItemStyle

Represents the style of a menu item in a Menu control. This class cannot be inherited.

MenuItemStyleCollection

Represents a collection of MenuItemStyle objects in a Menu control. This class cannot be inherited.

MenuItemTemplateContainer

Represents a container that holds the contents of a templated menu item in a Menu control.

ModelDataMethodResult

Encapsulates the result of a data method operation.

ModelDataSource

The data source control used by data-bound controls to perform CRUD (create, read, update, delete) operations when model binding is in use.

ModelDataSourceMethod

Encapsulates the information about a data method used by a ModelDataSourceView object.

ModelDataSourceView

Represents a single view of a ModelDataSource control.

ModelErrorMessage

Displays the first model error for a given key from the page's model state.

ModelMethodContext

Used to invoke the UpdateModel<TModel>(TModel) or TryUpdateModel<TModel>(TModel) method when the Page object is not directly accessible.

MonthChangedEventArgs

Provides data for the VisibleMonthChanged event of a Calendar control.

MultiView

Represents a control that acts as a container for a group of View controls.

MultiViewControlBuilder

Interacts with the parser to build a MultiView control.

NextPreviousPagerField

Represents a field that displays navigation controls in a DataPager control enable users to page through data.

NumericPagerField

Represents a DataPager field that enables users to select a page by page number.

ObjectDataSource

Represents a business object that provides data to data-bound controls in multitier Web application architectures.

ObjectDataSourceDisposingEventArgs

Provides data for the ObjectDisposing event of the ObjectDataSource control.

ObjectDataSourceEventArgs

Provides data for the ObjectCreating and ObjectCreated events of the ObjectDataSource control.

ObjectDataSourceFilteringEventArgs

Provides data for the Filtering event of the ObjectDataSource control.

ObjectDataSourceMethodEventArgs

Provides data for the Inserting, Updating, and Deleting events of the ObjectDataSource control.

ObjectDataSourceSelectingEventArgs

Provides data for the Selecting event of the ObjectDataSource control.

ObjectDataSourceStatusEventArgs

Provides data for the Selected, Inserted, Updated, and Deleted events of the ObjectDataSource control.

ObjectDataSourceView

Supports the ObjectDataSource control and provides an interface for data-bound controls to perform data operations with business and data objects.

PagedDataSource

Encapsulates the paging-related properties of a data-bound control (such as DataGrid, GridView, DetailsView, and FormView) that allow it to perform paging. This class cannot be inherited.

PageEventArgs

Provides data for the TotalRowCountAvailable event of a class that implements the IPageableItemContainer interface.

PagePropertiesChangingEventArgs

Provides data for the PagePropertiesChanging event.

PagerSettings

Represents the properties of the paging controls in a control that supports pagination. This class cannot be inherited.

Panel

Represents a control that acts as a container for other controls.

PanelStyle

Represents the style for a Panel control.

Parameter

Provides a mechanism that data source controls use to bind to application variables, user identities and choices, and other data. Serves as the base class for all ASP.NET parameter types.

ParameterCollection

Represents a collection of Parameter and Parameter-derived objects that are used by data source controls in advanced data-binding scenarios.

PasswordRecovery

Provides user interface (UI) elements that enable a user to recover or reset a lost password and receive it in email.

PlaceHolder

Stores dynamically added server controls on the Web page.

PlaceHolderControlBuilder

Interacts with the parser to build a PlaceHolder control.

PolygonHotSpot

Defines a polygon-shaped hot spot region in an ImageMap control. This class cannot be inherited.

ProfileParameter

Binds the value of an ASP.NET Profile property to a parameter object.

QueryableDataSource

Represents a base class for data source objects that get data by using LINQ queries.

QueryableDataSourceEditData

Represents data that can be edited from a QueryableDataSource object.

QueryableDataSourceView

Supports the QueryableDataSource control and provides an interface for data-bound controls to perform LINQ data operations.

QueryContext

Represents a list of parameters that are used to query a data source.

QueryCreatedEventArgs

Represents event data for the QueryCreated event.

QueryExtender

Enables data from a data source to be filtered without an explicit Where clause in the data source.

QueryExtensions

Provides an extension method for objects that implement the IQueryable<T> interface.

QueryStringParameter

Binds the value of an HTTP request query-string field to a parameter object.

RadioButton

Represents a radio button control.

RadioButtonList

Represents a list control that encapsulates a group of radio button controls.

RangeValidator

Checks whether the value of an input control is within a specified range of values.

RectangleHotSpot

Defines a rectangular hot spot region in an ImageMap control. This class cannot be inherited.

RegularExpressionValidator

Validates whether the value of an associated input control matches the pattern specified by a regular expression.

Repeater

A data-bound list control that allows custom layout by repeating a specified template for each item displayed in the list.

RepeaterCommandEventArgs

Provides data for the ItemCommand event of a Repeater. This class cannot be inherited.

RepeaterItem

Represents an item in the Repeater control.

RepeaterItemCollection

Represents a collection of RepeaterItem objects in the Repeater control. This class cannot be inherited.

RepeaterItemEventArgs

Provides data for the ItemCreated and ItemDataBound events of a Repeater.

RepeatInfo

Encapsulates the information used to render a list control that repeats a list of items. This class cannot be inherited.

RequiredFieldValidator

Makes the associated input control a required field.

RoleGroup

Associates a content template in a LoginView control with one or more roles defined for the Web site. This class cannot be inherited.

RoleGroupCollection

Contains a sequential list of role groups that the LoginView control uses to determine which control template to display to users based on their role. This class cannot be inherited.

RouteParameter

Binds the value of a URL segment to a parameter object.

SelectedDatesCollection

Encapsulates a collection of DateTime objects that represent the selected dates in a Calendar control. This class cannot be inherited.

SelectResult

Represents the select result. This type is designed to be used when you use the async model binding feature, which is introduced in 4.6, and want to enable custom paging.

SendMailErrorEventArgs

Provides data for the SendMailError event of controls such as the ChangePassword control, the CreateUserWizard control, and the PasswordRecovery control.

ServerValidateEventArgs

Provides data for the ServerValidate event of the CustomValidator control. This class cannot be inherited.

SessionParameter

Binds the value of a session variable to a parameter object.

SiteMapDataSource

Provides a data source control that Web server controls and other controls can use to bind to hierarchical site map data.

SiteMapDataSourceView

Provides a strongly typed HierarchicalDataSourceView object for the SiteMapDataSource control.

SiteMapHierarchicalDataSourceView

Represents a data view on a site map node or collection of nodes for a SiteMapDataSource control.

SiteMapNodeItem

The SiteMapNodeItem class is used by the SiteMapPath control to functionally represent a SiteMapNode.

SiteMapNodeItemEventArgs

Provides data for the ItemCreated and ItemDataBound events.

SiteMapPath

Displays a set of text or image hyperlinks that enable users to more easily navigate a Web site, while taking a minimal amount of page space.

SqlDataSource

Represents an SQL database to data-bound controls.

SqlDataSourceCommandEventArgs

Provides data for the Updating, Deleting and Inserting events of the SqlDataSource control.

SqlDataSourceFilteringEventArgs

Provides data for the Filtering event of the SqlDataSource control.

SqlDataSourceSelectingEventArgs

Provides data for the Selecting event of the SqlDataSource control.

SqlDataSourceStatusEventArgs

Provides data for an event that is raised by the SqlDataSource control after a data operation has completed.

SqlDataSourceView

Supports the SqlDataSource control and provides an interface for data-bound controls to perform SQL data operations against relational databases.

StringArrayConverter

Provides a type converter to convert a string of comma-separated values to and from an array of strings.

Style

Represents the style of a Web server control.

StyleCollection

Represents a collection of Style objects.

SubMenuStyle

Represents the style of a submenu in a Menu control.

SubMenuStyleCollection

Represents a collection of SubMenuStyle objects in a Menu control.

Substitution

Specifies a section on an output-cached Web page that is exempt from caching. At this location, dynamic content is retrieved and substituted for the Substitution control.

Table

Displays a table on a Web page.

Table.RowControlCollection

Represents the collection of TableRow objects in a Table control.

TableCell

Represents a cell in a Table control.

TableCellCollection

Encapsulates a collection of TableHeaderCell and TableCell objects that make up a row in a Table control. This class cannot be inherited.

TableCellControlBuilder

Interacts with the parser to build a TableCell control.

TableFooterRow

Represents a footer row in a Table control.

TableHeaderCell

Represents a heading cell within a Table control.

TableHeaderRow

Represents a heading row in a Table control.

TableItemStyle

Represents the style properties for an element of a control that renders as a TableRow or TableCell.

TableRow

Represents a row in a Table control.

TableRow.CellControlCollection

Represents a collection of TableCell objects that are the cells of a TableRow control.

TableRowCollection

Encapsulates a collection of TableRow objects that represent a single row in a Table control. This class cannot be inherited.

TableSectionStyle

Represents the style for a section of a Table control.

TableStyle

Represents the style for the Table control and some Web Parts.

TargetConverter

Converts a value that represents the location (target) in which to display the content resulting from a Web navigation to a string. This class also converts a string to a target value.

TemplateColumn

Represents a column type for the DataGrid control that allows you to customize the layout of controls in the column.

TemplatedWizardStep

Represents a step in a wizard control that can be customized through the use of templates.

TemplateField

Represents a field that displays custom content in a data-bound control.

TemplatePagerField

Represents a DataPager field that enables you to create a custom paging UI.

TextBox

Displays a text box control for user input.

TextBoxControlBuilder

Interacts with the parser to build a TextBox control.

TreeNode

Represents a node in the TreeView control.

TreeNodeBinding

Defines the relationship between a data item and the node it is binding to in a TreeView control.

TreeNodeBindingCollection

Represents a collection of TreeNodeBinding objects in the TreeView control. This class cannot be inherited.

TreeNodeCollection

Represents a collection of TreeNode objects in the TreeView control. This class cannot be inherited.

TreeNodeEventArgs

Provides data for the TreeNodeCheckChanged, TreeNodeCollapsed, TreeNodeDataBound, TreeNodeExpanded, and TreeNodePopulate events of the TreeView control. This class cannot be inherited.

TreeNodeStyle

Represents the style of a node in the TreeView control.

TreeNodeStyleCollection

Represents a collection of TreeNodeStyle objects that is in a TreeView control.

TreeView

Displays hierarchical data, such as a table of contents, in a tree structure.

UnitConverter

Converts from a Unit object to an object of another data type and from another type to a Unit object.

ValidatedControlConverter

Converts a control on the Web Forms page that can be validated with a validation control to a string containing the control's ID.

ValidationSummary

Displays a summary of all validation errors inline on a Web page, in a message box, or both.

View

Represents a control that acts as a container for a group of controls within a MultiView control.

ViewCollection

Represents a collection container that enables a MultiView control to maintain a list of its child controls.

WebColorConverter

Converts a predefined color name or an RGB color value to and from a Color object.

WebControl

Serves as the base class that defines the methods, properties and events common to all controls in the System.Web.UI.WebControls namespace.

Wizard

Provides navigation and a user interface (UI) to collect related data across multiple steps.

WizardNavigationEventArgs

Provides data for the CurrentStepIndex property and the NextStepIndex property for navigation in wizard controls.

WizardStep

Represents a basic step that is displayed in a Wizard control. This class cannot be inherited.

WizardStepBase

Implements the basic functionality required by a step in a Wizard control.

WizardStepCollection

Represents a collection of WizardStepBase-derived objects in a control that acts as a wizard. This class cannot be inherited.

WizardStepControlBuilder

Interacts with the parser to build a WizardStepBase-derived control. This class cannot be inherited.

Xml

Displays an XML document without formatting or using Extensible Stylesheet Language Transformations (XSLT).

XmlBuilder

Interacts with the parser to build the Xml control.

XmlDataSource

Represents an XML data source to data-bound controls.

XmlDataSourceView

Represents a tabular data source view on XML data for an XmlDataSource control.

XmlHierarchicalDataSourceView

Represents a data view on an XML node or collection of XML nodes for an XmlDataSource control.

Structs

FontUnit

Represents the size of a font.

Unit

Represents a length measurement.

Interfaces

IButtonControl

Defines properties and events that must be implemented to allow a control to act like a button on a Web page.

ICallbackContainer

Defines a method that enables controls to obtain a callback script.

ICompositeControlDesignerAccessor

Provides an interface to allow a composite-control designer to recreate the child controls of its associated control at design time.

IDataBoundControl

Defines properties that are shared by data-bound controls.

IDataBoundItemControl

Exposes the properties that are used to display a single item in a data-bound control.

IDataBoundListControl

Exposes the common properties of data-bound-controls that display multiple rows.

IFieldControl

Represents a contract that exposes properties that automatically generate fields that are based on data in a data-bound control.

IPageableItemContainer

Defines members that a data-bound control must implement in order to have paging functionality provided by the DataPager control.

IPersistedSelector

Provides a property that is used by the DynamicDataManager control to enable selecting data in a data-bound control through the query string.

IPostBackContainer

Defines a method that enables controls to obtain client-side script options.

IQueryableDataSource

Exposes methods and properties that the QueryExtender control uses to communicate with data source controls.

IRepeatInfoUser

Defines the properties and methods that must be implemented by any list control that repeats a list of items.

Enums

AutoCompleteType

Represents the values that control the behavior of the AutoComplete feature in a TextBox control.

BorderStyle

Specifies the border style of a control.

BulletedListDisplayMode

Specifies the display behaviors that you can apply to the list item contents in a BulletedList control.

BulletStyle

Specifies the bullet styles you can apply to list items in a BulletedList control.

ButtonColumnType

Specifies the button type for the ButtonColumn object.

ButtonType

Specifies the different types of buttons that can be rendered in a Web Forms page.

CalendarSelectionMode

Specifies the date selection mode of the Calendar control.

ContentDirection

Represents the direction in which to display controls that include text in a container control.

DataBoundControlMode

Represents the different data-entry modes for a data-bound control or a particular field in ASP.NET Dynamic Data.

DataControlCellType

Describes the function of a DataControlFieldCell object.

DataControlRowState

Specifies the state of a row in a data control, such as DetailsView or GridView.

DataControlRowType

Specifies the function of a row in a data control, such as a DetailsView or GridView control.

DayNameFormat

Specifies the display format for the days of the week on a Calendar control.

DetailsViewMode

Represents the different data-entry modes of a DetailsView control.

FirstDayOfWeek

Specifies the day to display as the first day of the week on the Calendar control.

FontSize

Specifies the font sizes defined by HTML 4.0.

FormViewMode

Represents the different data-entry modes of a FormView control.

GridLines

Specifies the gridline styles for controls that display items in a table structure.

HorizontalAlign

Specifies the horizontal alignment of items within a container.

HotSpotMode

Specifies the behaviors of a HotSpot object in an ImageMap control when the HotSpot is clicked.

ImageAlign

Specifies the alignment of an image in relation to the text of a Web page.

InsertItemPosition

Specifies the location of the InsertItemTemplate template when it is rendered as part of the ListView control.

ListItemType

Specifies the type of an item in a list control.

ListSelectionMode

Specifies the selection mode of the ListBox control.

ListViewCancelMode

Determines the type of operation that the user was performing when the Cancel button was clicked in a ListView item.

ListViewItemType

Specifies the function of an item in the ListView control.

LiteralMode

Specifies how the content in a Literal control is rendered.

LoginFailureAction

Determines the page that the user will go to when a login attempt is not successful.

LoginTextLayout

Specifies the position of labels relative to their associated text boxes for the Login control.

LogoutAction

Indicates the page that the user will be directed to when they log out of the Web site.

MenuRenderingMode

Specifies whether the Menu control renders HTML table elements and inline styles, or listitem elements and cascading style sheet (CSS) styles.

NextPrevFormat

Represents the display format for the previous and next month navigation controls within the Calendar.

Orientation

Specifies the general layout of items within a composite control.

PagerButtons

Specifies the types of buttons to display for navigating between pages of content in a paginated control.

PagerMode

Represents the mode of the pager for accessing various pages within the DataGrid control.

PagerPosition

Specifies the position of the pager for accessing various pages within a paginated control.

ParsingCulture

Specifies the culture information to use when string values are converted to types.

PathDirection

Indicates the hierarchical order in which navigation nodes are rendered for site-navigation controls.

RepeatDirection

Specifies the direction in which items of a list control are displayed.

RepeatLayout

Specifies the layout of items in a list control.

ScrollBars

Specifies the visibility and position of scroll bars in a Panel control.

SiteMapNodeItemType

The SiteMapNodeItemType enumeration is used by the SiteMapPath control to identify the type of a SiteMapNodeItem node within a node hierarchy.

SortDirection

Specifies the direction in which to sort a list of items.

SqlDataSourceCommandType

Describes the type of SQL command used by the SqlDataSource and AccessDataSource controls when performing a database operation.

SqlDataSourceMode

Specifies whether a SqlDataSource or AccessDataSource control retrieves data as a IDataReader or DataSet.

TableCaptionAlign

Specifies the horizontal or vertical placement of the text to render as the HTML caption element.

TableHeaderScope

Represents the HTML scope attribute for classes that represent header cells in a table.

TableRowSection

Specifies where a TableRow object is placed in a Table control.

TextAlign

Specifies whether the text associated with a check box or radio button control appears to the left or to the right of the control.

TextBoxMode

Specifies the behavior mode of the text box.

TitleFormat

Specifies the title format for the displayed month in the Calendar control.

TreeNodeSelectAction

Represents the event or events to raise when a node in the TreeView control is selected.

TreeNodeTypes

Represents the different node types (leaf, parent, and root) in the TreeView control.

TreeViewImageSet

Represents an image set to use in the TreeView control.

UnitType

Specifies the unit of measurement.

ValidationCompareOperator

Specifies the validation comparison operators used by the CompareValidator control.

ValidationDataType

Specifies the validation data types used by the CompareValidator and RangeValidator controls.

ValidationSummaryDisplayMode

Specifies the validation summary display mode used by the ValidationSummary control.

ValidatorDisplay

Specifies the display behavior of error messages in validation controls.

VerticalAlign

Specifies the vertical alignment of an object or text in a control.

WizardStepType

Specifies the types of navigation UI that can be displayed for a step in a Wizard control.

Delegates

AdCreatedEventHandler

Represents the method that handles the AdCreated event of an AdRotator control.

AuthenticateEventHandler

Represents the method that will handle the Authenticate event of a Login control.

BulletedListEventHandler

Represents the method that will handle the Click event of a BulletedList control.

CallingDataMethodsEventHandler

Represents the method that handles the CallingDataMethods event.

CommandEventHandler

Represents the method that will handle the Command event.

CreateUserErrorEventHandler

Represents the method that handles a CreateUserError event in the CreateUserWizard control.

CreatingModelDataSourceEventHandler

Represents the method that handles the CreatingModelDataSource and CreatingModelDataSource events.

DataGridCommandEventHandler

Represents the method that handles the CancelCommand, DeleteCommand, EditCommand, ItemCommand, and UpdateCommand events of a DataGrid control.

DataGridItemEventHandler

Represents the method that handles the ItemCreated and ItemDataBound events of a DataGrid control.

DataGridPageChangedEventHandler

Represents the method that handles the PageIndexChanged event of the DataGrid control.

DataGridSortCommandEventHandler

Represents the method that handles the SortCommand event of the DataGrid control.

DataListCommandEventHandler

Represents the method that will handle the CancelCommand, DeleteCommand, EditCommand, ItemCommand, and UpdateCommand events of a DataList control.

DataListItemEventHandler

Represents the method that will handle the ItemCreated and ItemDataBound events of the DataList control.

DayRenderEventHandler

Represents the method that handles the DayRender event of the Calendar control.

DetailsViewCommandEventHandler

Represents the method that handles the ItemCommand event of a DetailsView control.

DetailsViewDeletedEventHandler

Represents the method that handles the ItemDeleted event of a DetailsView control.

DetailsViewDeleteEventHandler

Represents the method that handles the ItemDeleting event of a DetailsView control.

DetailsViewInsertedEventHandler

Represents the method that handles the ItemInserted event of a DetailsView control.

DetailsViewInsertEventHandler

Represents the method that handles the ItemInserting event of a DetailsView control.

DetailsViewModeEventHandler

Represents the method that handles the ModeChanging event of a DetailsView control.

DetailsViewPageEventHandler

Represents the method that handles the PageIndexChanging event of a DetailsView control.

DetailsViewUpdatedEventHandler

Represents the method that handles the ItemUpdated event of a DetailsView control. This class cannot be inherited.

DetailsViewUpdateEventHandler

Represents the method that handles the ItemUpdating event of a DetailsView control.

FormViewCommandEventHandler

Represents the method that handles the ItemCommand event of a FormView control. This class cannot be inherited.

FormViewDeletedEventHandler

Represents the method that handles the ItemDeleted event of a FormView control.

FormViewDeleteEventHandler

Represents the method that handles the ItemDeleting event of a FormView control.

FormViewInsertedEventHandler

Represents the method that handles the ItemInserted event of a FormView control.

FormViewInsertEventHandler

Represents the method that handles the ItemInserting event of a FormView control.

FormViewModeEventHandler

Represents the method that handles the ModeChanging event of a FormView control.

FormViewPageEventHandler

Represents the method that handles the PageIndexChanging event of a FormView control.

FormViewUpdatedEventHandler

Represents the method that handles the ItemUpdated event of a FormView control.

FormViewUpdateEventHandler

Represents the method that handles the ItemUpdating event of a FormView control.

GridViewCancelEditEventHandler

Represents the method that handles the RowCancelingEdit event of a GridView control.

GridViewCommandEventHandler

Represents the method that handles the RowCommand event of a GridView control.

GridViewDeletedEventHandler

Represents the method that handles the RowDeleted event of a GridView control.

GridViewDeleteEventHandler

Represents the method that handles the RowDeleting event of a GridView control.

GridViewEditEventHandler

Represents the method that handles the RowEditing event of a GridView control.

GridViewPageEventHandler

Represents the method that handles the PageIndexChanging event of a GridView control.

GridViewRowEventHandler

Represents the method that handles the RowCreated and RowDataBound events of a GridView control.

GridViewSelectEventHandler

Represents the method that handles the SelectedIndexChanging event of a GridView control.

GridViewSortEventHandler

Represents the method that handles the Sorting event of a GridView control.

GridViewUpdatedEventHandler

Represents the method that handles the RowUpdated event of a GridView control.

GridViewUpdateEventHandler

Represents the method that handles the RowUpdating event of a GridView control.

ImageMapEventHandler

Represents the method that handles the Click event of an ImageMap control.

LoginCancelEventHandler

Represents the method that handles a cancelable event.

MailMessageEventHandler

Represents the method that handles mail events.

MenuEventHandler

Represents the method that handles the MenuItemClick event or MenuItemDataBound event of a Menu control.

MonthChangedEventHandler

Represents the method that handles the VisibleMonthChanged event of a Calendar control.

ObjectDataSourceDisposingEventHandler

Represents the method that will handle the ObjectDisposing event of the ObjectDataSource control.

ObjectDataSourceFilteringEventHandler

Represents the method that will handle the Filtering event of the ObjectDataSource control.

ObjectDataSourceMethodEventHandler

Represents the method that will handle the Selecting, Updating, Inserting, or Deleting event of the ObjectDataSource control.

ObjectDataSourceObjectEventHandler

Represents the method that will handle the ObjectCreating and ObjectCreated events of the ObjectDataSource control.

ObjectDataSourceSelectingEventHandler

Represents the method that will handle the Selecting event of the ObjectDataSource control.

ObjectDataSourceStatusEventHandler

Represents the method that will handle the Selected, Updated, Inserted, and Deleted events of the ObjectDataSource control.

RepeaterCommandEventHandler

Represents the method that will handle the ItemCommand event of a Repeater.

RepeaterItemEventHandler

Represents the method that will handle the ItemCreated and ItemDataBound events of a Repeater.

SendMailErrorEventHandler

Represents the method that handles the SendMailError event of controls such as the ChangePassword control, the CreateUserWizard control, and the PasswordRecovery control.

ServerValidateEventHandler

Represents the method that will handle the ServerValidate event of a CustomValidator control.

SiteMapNodeItemEventHandler

Represents the method that will handle the ItemCreated and ItemDataBound events for the SiteMapNodeItem class.

SqlDataSourceCommandEventHandler

Represents the method that will handle the Updating, Inserting, and Deleting events of the SqlDataSource control.

SqlDataSourceFilteringEventHandler

Represents the method that will handle the Filtering event of the SqlDataSource control.

SqlDataSourceSelectingEventHandler

Represents the method that will handle the Selecting event of the SqlDataSource control.

SqlDataSourceStatusEventHandler

Represents the method that will handle the Selected, Updated, Inserted, and Deleted events of the SqlDataSource control.

TreeNodeEventHandler

Represents the method that will handle the TreeNodeCollapsed, TreeNodeDataBound, TreeNodeExpanded, or TreeNodePopulate event of the TreeView control.

WizardNavigationEventHandler

Represents the method that will handle navigation events in a Wizard control.

Remarks

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.

See also