Function |
Control |
Description |
Property |
Method |
Event |
Text |
Label |
Display text |
Text |
|
|
|
Textbox |
Accept user input, text/number/date, etc. |
Text/textmode/autopostback/visible/enable |
TextChanged |
|
|
Literal |
display text without adding any HTML elements |
|
|
|
Button |
Button |
command button |
Text/postbackurl |
Focus |
Click/command |
|
ImageButton |
Buttons that contain images |
Postbackurl/alternatetext/imageurl |
|
|
Hypertext links |
HyperLink |
Hyperlink control |
Text/navigateurl/target:_top, _blank, _parent, _self, |
|
|
|
LinkButton |
command buttons with a hyperlink Wow appearance |
|
|
Click |
Choose |
RadioButton |
radio button |
Checked/groupname/text |
|
CheckedChanged |
|
RadioButtonList |
Radio button group, only one button can be selected in this group |
|
|
Selectindexchanged |
|
CheckBox |
Check Group |
Checked/text/autopostback |
|
CheckedChanged |
|
CheckBoxList |
check box Group |
|
|
Selectindexchanged |
|
ListBox |
List, you can select multiple |
|
|
Selectindexchanged |
|
DropDownList |
drop-down list |
|
|
|
Image |
Image |
Display image |
Imageurl/imagealign |
|
|
Container |
Panel |
Used as a container for other controls, corresponding to the HTML <div> tag |
Groupingtext/scrollbars |
|
|
|
Palcehoder |
placeholder containers that can add content dynamically at run time |
|
|
|
File Upload |
Fileupdate |
File Upload Control |
|
SaveAs |
|
Navigation |
Treeview |
Tree-Type Navigation |
|
|
|
|
Menu |
Drop-down menu navigation |
|
|
|
|
SiteMapPath |
Show navigation path |
|
|
|
Data-bound controls |
Girdview |
Data Table controls |
DataSource |
DataBind (binds the data source to the Girdview control)/sort/updaterow |
pageindexchanged/sorted |
|
DataList |
Data-bound controls that can be used in a custom format |
DataSource |
Databind/createitem |
|
|
Listview |
Display data source data using user-defined templates, you can select/Sort/delete/edit/Insert Records |
|
|
|
|
Repeater |
You can repeat the specified template for each item displayed in the data-bound list |
|
|
|
|
DetailsView |
Displays a single record from the data source in the table, where each row of data represents a field of the record |
|
|
|
|
FormView |
Display a single record in a data source using a user-defined template, you can select/Sort/delete/edit/Insert Records |
|
|
|
Data source Control |
SqlDataSource |
Data sources that are bound to SQL Server databases |
|
|
|
|
ObjectDataSource |
A business object that provides data for data-bound controls in a multi-tiered Web application architecture |
|
|
|
Data validation |
RequiredFieldValidator |
Verify that a field is entered |
ControlToValidate (the control ID to be validated)/errormessage (Enter an illegal error message)/text/isvalid |
|
|
|
CompareValidator |
The contents of a field are compared to the specified object |
Controltovalidate/controltocompare/operator (type of action to compare): Equal.../valuetocompare (the control ID for comparison) |
|
|
|
RangeValidator |
Whether the field contents are within the specified range |
Controltovalidate/maximum Value/minimum Value/type/text |
|
|
|
ValidationSummary |
Show all validation error messages |
DisplayMode |
|
|
|
RegularExpressionValidator |
Whether the field content conforms to the specified format |
Controltovalidate/validationexpression (regular expression for validation) |
|
|
|
CustomValidator |
Custom validation Controls |
Controltovalidate/clientvalidationfunction |
|
|