Function |
Widget |
Description |
Attribute |
Method |
Event |
Text |
Label |
Show text |
Text |
|
|
|
TextBox |
Accept user input, text/numbers/dates, etc. |
Text/TextMode/AutoPostBack/Visible/Enable |
TextChanged |
|
|
Literal |
Show text without adding any HTML elements |
|
|
|
Button |
Button |
Command button |
Text/PostBackUrl |
Focus |
Click/Command |
|
ImageButton |
Buttons containing images |
PostBackUrl/AlternateText/ImageUrl |
|
|
Hyperlink |
HyperLink |
Hyperlink Control |
Text/NavigateUrl/Target: _ top, _ blank, _ parent, _ self, |
|
|
|
LinkButton |
Command button with hyperlink wow appearance |
|
|
Click |
Select |
RadioButton |
Radio button |
Checked/GroupName/Text |
|
CheckedChanged |
|
RadioButtonList |
Single-choice 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, multiple options available |
|
|
SelectIndexChanged |
|
DropDownList |
Drop-down list |
|
|
|
Image |
Image |
Show images |
ImageUrl/ImageAlign |
|
|
Container |
Panel |
Used as a container for other controls, corresponding to the <div> tag of html |
GroupingText/ScrollBars |
|
|
|
PalceHoder |
Placeholder container, which can dynamically add content during runtime |
|
|
|
File Upload |
FileUpdate |
File Upload Control |
|
SaveAs |
|
Navigation |
TreeView |
Tree navigation |
|
|
|
|
Menu |
Drop-down menu navigation |
|
|
|
|
SiteMapPath |
Show navigation path |
|
|
|
Data Binding Control |
GirdView |
Data Table Control |
DataSource |
DataBind (bind the data source to the GirdView Control)/Sort/UpdateRow |
PageIndexChanged/Sorted |
|
DataList |
You can use custom data binding controls. |
DataSource |
DataBind/CreateItem |
|
|
ListView |
Use a custom template to display data from the data source. You can select, sort, delete, edit, and insert records. |
|
|
|
|
Repeater |
You can specify a duplicate template for each item displayed in the data binding list. |
|
|
|
|
DetailsView |
A single record from the data source is displayed in the table. Each Data row indicates a field of the record. |
|
|
|
|
FormView |
Use a user-defined template to display a single record in the data source. You can select, sort, delete, edit, and insert records. |
|
|
|
Data Source Control |
SqlDataSource |
Data Source bound to the sqlserver Database |
|
|
|
|
ObjectDataSource |
Provides business objects for data binding controls in the multi-layer web application architecture |
|
|
|
Data Verification |
RequiredFieldValidator |
Verify whether a field is entered |
ControlToValidate (Control ID to be verified)/ErrorMessage (enter invalid error message)/Text/IsValid |
|
|
|
CompareValidator |
The content of a field is compared with the specified object. |
ControlToValidate/ControlToCompare/operator (comparison operation type): Equal.../ValueToCompare (Control ID used for comparison) |
|
|
|
RangeValidator |
Whether the field content is in the specified range |
ControlToValidate/Maximum Value/Minimum Value/Type/Text |
|
|
|
ValidationSummary |
Show all verification error messages |
DisplayMode |
|
|
|
RegularExpressionValidator |
Whether the field content meets the specified format |
ControlToValidate/ValidationExpression (Regular Expression used for verification) |
|
|
|
CustomValidator |
Custom verification control |
ControlToValidate/ClientValidationFunction |
|
|