Compartir a través de


Web Server Controls

The following topics cover the ASP.NET syntax that you use when creating a Web server control in a text or HTML editor. These topics include the properties that are shared among all Web server controls, as well as specific properties for each control.

In This Section

  • Base Web Server Control Properties
    Details the properties shared by all Web server controls, except Literal, PlaceHolder, and Xml.
  • Style Properties
    Describes the style properties available to a subset of Web server controls and how to use those properties declaratively.
  • AdRotator Web Server Control
    Details the ASP.NET syntax for the AdRotator Web server control. This control displays an advertisement banner.
  • Button Web Server Control
    Details the ASP.NET syntax for the Button Web server control. This control creates a push button.
  • Calendar Web Server Control
    Details the ASP.NET syntax for the Calendar Web server control. This control displays a one-month calendar that allows the user to select dates and move to the next and previous months.
  • CheckBox Web Server Control
    Details the ASP.NET syntax for the CheckBox Web server control. This control creates a check box that allows the user to switch between a true or false state.
  • CheckBoxList Web Server Control
    Details the ASP.NET syntax for the CheckBoxList Web server control. This control allows you to create a multiselection check box group that can be dynamically created by binding the control to a data source.
  • DataGrid Web Server Control
    Details the ASP.NET syntax for the DataGrid Web server control. This control displays the items from a data source in table. You can control which fields are displayed in the DataGrid control and also allow the user to select, edit, and sort the items in the control.
  • DataList Web Server Control
    Details the ASP.NET syntax for the DataList Web server control. This control displays the items from a data source using templates. You can customize the appearance and contents of the control by manipulating the templates that make up the different components of the DataList control, such as the ItemTemplate and HeaderTemplate.
  • DropDownList Web Server Control
    Details the ASP.NET syntax for the DropDownList Web server control. This control displays a drop-down list that allows the user to select a single item from the list.
  • HyperLink Web Server Control
    Details the ASP.NET syntax for the HyperLink Web server control. This control displays a link that directs you to another Web page.
  • Image Web Server Control
    Details the ASP.NET syntax for the Image Web server control. This control displays a Web-compatible image.
  • ImageButton Web Server Control
    Details the ASP.NET syntax for the ImageButton Web server control. This control displays an image and allows you to handle user click events on the server.
  • Label Web Server Control
    Details the ASP.NET syntax for the Label Web server control. This control allows you to display static text on the page and manipulate it programmatically. The Label control is similar to the Literal control, except Label allows you to apply style properties to the text.
  • LinkButton Web Server Control
    Details the ASP.NET syntax for the LinkButton Web server control. This control creates hyperlink-style buttons.
  • ListBox Web Server Control
    Details the ASP.NET syntax for the ListBox Web server control. This control displays a single-selection or multiselection list box.
  • Literal Web Server Control
    Details the ASP.NET syntax for the Literal Web server control. Like the Label control, this control allows you to display static content on the page and manipulate it programmatically. Unlike the Label control, Literal does not let you apply styles to its content.
  • Panel Web Server Control
    Details the ASP.NET syntax for the Panel Web server control. This control provides a container for other controls.
  • PlaceHolder Web Server Control
    Details the ASP.NET syntax for the PlaceHolder Web server control. This control reserves a location in the page control hierarchy for controls that are added programmatically.
  • RadioButton Web Server Control
    Details the ASP.NET syntax for the RadioButton Web server control. This control creates a single radio button.
  • RadioButtonList Web Server Control
    Details the ASP.NET syntax for the RadioButtonList Web server control. This control displays a radio button group that can be dynamically created by binding the control to a data source.
  • Repeater Web Server Control
    Details the ASP.NET syntax for the Repeater Web server control. This control displays the items from a data source in a custom layout by repeating a specified template for each item in the list. The Repeater control does not have an inherent appearance. You must define a template for the Repeater to display its contents.
  • Table Web Server Control
    Details the ASP.NET syntax for the Table Web server control. This control displays a table and allows you to manipulate it programmatically.
  • TableCell Web Server Control
    Details the ASP.NET syntax for the TableCell Web server control. This control allows you to declare a cell for the Table control and manipulate it programmatically.
  • TableRow Web Server Control
    Details the ASP.NET syntax for the TableRow Web server control. This control allows you to declare a row for the Table control and manipulate it programmatically.
  • TextBox Web Server Control
    Details the ASP.NET syntax for the TextBox Web server control. This control displays a single-line or multiline text box.
  • Xml Web Server Control
    Details the ASP.NET syntax for the Xml Web server control. This control displays an XML document or the results of an XSL Transform.