Gridview Events


DataBinding
DataBound
Disposed
Init
Load
PageIndexChanged
PageIndexChanging
PreRender
RowCancelingEdit
RowCommand
RowCreated
RowDataBound
RowDeleted
RowDeleting
RowEditing
RowUpdated
RowUpdating
SelectedIndexChanged
SelectedIndexChanging
Sorted
Sorting
Unload


Every Page Refresh Gridview events fired in the following order


  1. GridView1_ Init() and then Page load() event will be called
  2. GridView1_load()
  3. GridView1_PreRender()
  4. GridView1_Unload()

When Page is PostBack means

1.     GridView1_ Init() and then Page load() event will be called
2.     GridView1_load()
3.     Page event fired (for example : Button click event)
4.     GridView1_PreRender()
5.     GridView1_Unload()

When Bind Grid Means
    1. GridView1_ Init() and then Page load() event will be called
    2. GridView1_load()
    3. Gridview Binding means
-    Gridview1_DataBinding()
-    GridView1_RowCreated()
-    GridView1_RowDataBound()
-    GridView1_DataBound()
    1. GridView1_PreRender()
    2. GridView1_Unload()
 I have updated partially... :-)

Comments (0)