Asp.Net Common events and their event handler names

Common events and their event handler names

Event name

Event handler name

Applies to

BubbleEvent

OnBubbleEvent

All controls

CheckedChanged

OnCheckedChanged

CheckBox

Click

OnClick

Button, LinkButton, ImageButton

DataBinding

OnDataBinding

All controls

Init

OnInit

All controls

ItemCreated

OnItemCreated

Repeater

ItemDataBound

OnItemDataBound

Repeater

Load

OnLoad

All controls

PreRender

OnPreRender

All controls

SelectedIndexChanged

OnSelectedIndexChanged

DataGrid, DataList, CheckBoxList,DropDownList,

ListBox, RadioButtonList

TextChanged

OnTextChanged

TextBox

Unload

OnUnload

All controls

Share

About the Author

Akash Padhiyar

Visit Website

One Comment

  1. Western Saddles August 23, 2010

    Super-Duper blog! I’m loving it!! Will come back once again – getting you feeds also, Thanks.

Leave a Comment

Your email address will not be published. Required fields are marked *

*

Time limit is exhausted. Please reload CAPTCHA.