May 12, 2021 ASP.NET
Web server controls are special labels that the server ASP.NET understand.
Just like HTML server controls, Web server controls are also created on the server, and they also require the runat"server" property to take effect. However, there is no need for Web server controls to map any html elements that already exist, and they can represent more complex elements.
The syntax for creating a Web server control is:
Web server control | describe |
---|---|
AdRotator | Show a graphics sequence |
Button | Show downstream button |
Calendar | Show calendar |
CalendarDay | One day in the Calendar control |
CheckBox | Display check box |
CheckBoxList | Create a multi-selection checkbox group |
DataGrid | Display fields of data sources in GRID |
DataList | Display the item in the data source by using the template |
DropDownList | Create a drop-down list |
HyperLink | Create a hyperlink |
Image | Display image |
ImageButton | Show clickable image |
Label | Display programmable static content (allowing you to apply style on its content) |
LinkButton | Create a hyperlink button |
ListBox | Create a single or multiple selection drop-down list |
ListItem | Create a project in the list |
Literal | Display programmable static content (unable to make your content application style) |
Panel | Provide containers for other controls |
PlaceHolder | Reserved space for controls added by code |
RadioButton | Create a radio button |
RadioButtonList | Create a radio button group |
BulletedList | Create a list of project symbol formats |
Repeater | Repeat list of items that bind to controls |
Style | Set the style of the control |
Table | Create a form |
TableCell | Create a table cell |
TableRow | Create a table |
TextBox | Create text box |
Xml | Display the result of XML file or XSL conversion |
The table above provides useful Web server controls, and by clicking on the appropriate links, you can get more detailed information about your use.