开发者

GridView Events Clarification

开发者 https://www.devze.com 2022-12-25 16:18 出处:网络
Recently I have been asked an interview question \"What ar开发者_如何学运维e the events order in GridView?\".

Recently I have been asked an interview question "What ar开发者_如何学运维e the events order in GridView?".

I explained

  • Init()
  • Loading()
  • DataBinding()
  • DataBound()
  • RowCreated
  • .... User interaction events like RowCommand,RowDeleting,RowUpdating
  • PreRender -executes every time when the GridView is modified
  • unload()

I would like to check whether my answer is right or not.


The following list was obtained by creating an event handler for all events available in the Gridview's design mode in VS.Net and placing the following in the handler:

Debug.WriteLine("EventName");

Init

DataBinding

RowCreated

RowDataBound

DataBound

Load

(Action Events) (i.e - SelectedIndexChanging, SelectedIndexChanged)

PreRender

Unload

0

精彩评论

暂无评论...
验证码 换一张
取 消