Common controls and events in ASP. NET

Source: Internet
Author: User

 

Some common controls and events
Widget Event Trigger time

Button

LinkButton

ImageButton

Click Triggered when a button is clicked

DropBownList

LIstBox

Selectedindexchanged Triggered when the options in the list change. This event is useful for performing certain operations based on options.

CheckBox

RadioButton

Checkchanged Triggered when the status of checkbox and radiobutton changes. That is, when the status changes to checked or not checked

CheckBoxList

RadioButtonList

Selectedindexchanged Triggered when the options in the list change

Calendar

Selectionchanged Triggered when the selected date changes
  Visiblemonthchanged Triggered when the selected month changes
Login Authenticate Triggered when the user has logged on
  Loggedin Triggered when the current user has logged on
  Loginerror Triggered when an error occurs during logon.
Datalist Databound Triggered when data is retrieved from the database and bound to the control.
Gridview Rowdeleting Triggered when the current row is deleted
  RowUpdating Triggered when the current row is updated
  SelectIndexChanged Triggered when the selected row changes
SqlDataSource Deleted Triggered when a data entry is deleted from the dataset.
  Inserted Triggered when a data row is inserted into the dataset.
  Updated Triggered when a row of data in the dataset is updated
Menu MenuItemDataBound Triggered when an entry is bound to a menu
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.