Web Forms Tab, Toolbox

Displays a list of Web server controls and validation controls that you can add to Web Forms. This tab is available only when you are working in Design view of the Web Forms designer.

Note   You can also create HTML server controls on your Web Forms pages by adding elements from the HTML tab of the Toolbox and then converting them to controls. For information on the difference between these controls, see Introduction to ASP.NET Server Controls.

Validation controls allow you to add user input validation to any Web control or HTML control on the Web Forms page.

By default, a Web Forms page uses grid layout mode — that is, elements are arranged using absolute positioning (x and y coordinates). Alternatively, you can use flow layout mode, in which elements are arranged as in a traditional HTML page (top to bottom). For details, see Positioning HTML Elements in Design View.

Name Description
AdRotator Displays a sequence (pre-defined or random) of images.
Button Submits the Web Forms page to the server for processing.
Calendar Displays a calendar to allow users to select a date.
CheckBox Displays a box that users can click to turn on and off.
CheckBoxList Creates a grouping of check boxes. The list control makes it easy to create check boxes using data binding.
CompareValidator Compares the value of an associated input control to another input control or a constant value.
CrystalReportViewer Hosts a report created with Crystal Reports on a Web page.
CustomValidator Allows custom code to perform validation on the client or the server.
DataGrid Displays information, usually data-bound, in tabular form with columns. Provides mechanisms to allow editing and sorting.
DataList Like the Repeater control, but with more formatting and layout options, including the ability to display information in a table. The DataList control also allows you to specify editing behavior.
DropDownList Allows users to either select from a list or enter text.
HyperLink Creates Web navigation links.
Image Displays an image.
ImageButton Like a Button control, but incorporates an image instead of text.
Label Displays text that users can't directly edit.
LinkButton Like a Button control, but has the appearance of a hyperlink.
ListBox Displays a list of choices. Optionally, the list can allow multiple selections.
Literal Renders as literal text (with no HTML tags), providing a lightweight way to put text into the page from server code.
Panel Creates a borderless division on the form that serves as a container for other controls.
PlaceHolder Provides a container to store dynamically added server controls to the Web page. It does not produce any visible output and is only used as a container for other controls on the Web page.
RadioButton Displays a single button that can be turned on or off.
RadioButtonList Creates a grouping of radio buttons. Inside the group, only one button can be selected.
RangeValidator Checks whether the value of an input control is within a specified range of values.
RegularExpressionValidator Validates whether the value of an associated input control matches the pattern specified by a regular expression.
Repeater Displays information from a data set using a set of HTML elements and controls you specify, repeating the elements once for each record in the data set.
RequiredFieldValidator Makes the associated input control a required field.
Table Creates a table. You can add rows and columns in server code.
TextBox Displays text entered at design time that can be edited by users at run time or changed programmatically.
ValidationSummary Displays a summary of all validation errors inline on a Web page, in a message box, or both.
XML Displays information from an XML file or stream, and optionally allows you to apply XSLT transformations.

See Also

Managing Items and Tabs in the Toolbox | Customize Toolbox Dialog Box | Introduction to ASP.NET Server Controls | Introduction to Validating User Input in Web Forms