Here is the sequence of events raised by various controls in a typical list or task page for some common scenarios.
Legend
Green
|
Common Events for any command
|
Yellow
|
Events that are specific to how dataset is constructed depending on if it’s post back or not
|
Blue
|
Events specific to the command
|
Grid – View First Page
|
Grid – Changing Page
|
Grid – Change Row Selection
|
AxDataSource-Init
AxGridView-Init
Page-Init
AxDataSource-CreatingDataSetRun
dataset-init- pre super
datasource-init
dataset-init- post super
AxDataSource-InitializedDataSetRun
Page-Load
AxDataSource-Load
AxGridView-Load
AxDataSource-RunningDataSetRun
dataset-run- pre super
datasource-executeQuery
dataset-run- post super
AxDataSource-Unload
AxGridView-RowCreated ( for each row)
AxBoundField – OnFormattingValue ( for each bound field)
AxGridView-RowDataBound ( for each row)
AxGridView-DataBound
AxGridView-PreRender
dataset-pack
AxDataSource-DataSetDetached
AxDataSource-Unload
AxGridView-Unload
Page-Unload
|
AxDataSource-Init
AxGridView-Init
Page-Init
AxDataSource-CreatingDataSetRun
dataset-unpack
AxDataSource-DataSetReady
AxGridView-RowCreated ( for each row)
Page-Load
AxDataSource-Load
AxGridView-Load
AxGridView-RowCommand
AxGridView-PageIndexChanging
Table-reread
datasource-reread
datasource-refresh
AxGridView-PageIndexChanged
datasource-research- pre super
datasource-executeQuery
datasource-research- post super
AxDataSource-Unload
AxGridView-RowCreated ( for each row)
AxBoundField – OnFormattingValue ( for each bound field)
AxGridView-RowDataBound ( for each row)
AxGridView-DataBound
AxGridView-PreRender
dataset-pack
AxDataSource-DataSetDetached
AxDataSource-Unload
AxGridView-Unload
Page-Unload
|
AxDataSource-Init
AxGridView-Init
Page-Init
AxDataSource-DataSetReady
AxGridView-RowCreated( for each row)
Page-Load
AxDataSource-Load
AxGridView-Load
AxGridView-RowCommand
AxGridView-SelectedIndexChanging
GridView-SelectedIndexChanged
GridView-PreRender
dataset-pack
AxDataSource-DataSetDetached
AxDataSource-Unload
GridView-Unload
Page-Unload
|
| |
Grid – Save Row edit
|
Grid – Cancel Row Edit
|
Grid – Delete Row
|
AxDataSource-Init
AxGridView-Init
Page-Init
AxDataSource-DataSetReady
AxGridView-RowCreated ( for each row)
Page-Load
AxDataSource-Load
AxGridView-Load
AxDataSource-RowCommand
AxGridView-RowUpdating
Table-ValidateField
Table-modifiedField
datasource-validateWrite – pre super
Table-validateWrite
datasource-validateWrite – post super
datasource-write – pre super
Table-update – pre super
Table-aosValidateUpdate
Table-update – post super
datasource-refresh
datasource-write- post super
datasource-leaveRecord
AxGridView-RowUpdated
AxDataSource-Unload
AxGridView-RowCreated ( for each row)
AxBoundField – OnFormattingValue ( for each bound field)
AxGridView-RowDataBound ( for each row)
AxGridView-DataBound
AxGridView-PreRender
dataset-pack
AxDataSource-DataSetDetached
AxDataSource-Unload
AxGridView-Unload
Page-Unload
|
AxDataSource-Init
AxGridView-Init
Page-Init
AxDataSource-DataSetReady
AxGridView-RowCreated ( for each row)
Page-Load
AxDataSource-Load
AxGridView-Load
AxGridView-RowCommand
datasource-reread – pre super
Table-reread
datasource-reread – post super
datasource-refresh
AxGridView-PageIndexChanged
datasource-executeQuery
datasource-research
AxGridView-RowCancellingEdit
AxDataSource-Unload
AxGridView-RowCreated ( for each row)
AxBoundField – OnFormattingValue ( for each bound field)
AxGridView-RowDataBound ( for each row)
AxGridView-DataBound
AxGridView-PreRender
dataset-pack
AxDataSource-DataSetDetached
AxDataSource-Unload
AxGridView-Unload
Page-Unload
|
AxDataSource-Init
AxGridView-Init
Page-Init
AxDataSource-DataSetReady
AxGridView-RowCreated( for each row)
Page-Load
AxDataSource-Load
AxGridView-Load
AxGridView-RowCommand
AxGridView-RowDeleting
datasource-validateDelete - presuper
Table-validateDelete
datasource-validateDelete - postsuper
datasource-delete –presuper
Table-delete
datasource-delete –postsuper
GridView-RowDeleted
AxDataSource-Unload
AxGridView-RowCreated ( for each row)
AxBoundField – OnFormattingValue ( for each bound field)
AxGridView-RowDataBound ( for each row)
AxGridView-DataBound
AxGridView-PreRender
dataset-pack
AxDataSource-DataSetDetached
AxDataSource-Unload
AxGridView-Unload
Page-Unload
|
Form with a single group control ( if you have multi section/ section controls, their event execution will be similar to that group control in the below list)
Form – View Record
|
Form – Update Record
|
Form – Insert Record
|
AxDataSource-Init
AxGroup-Init
AxForm-Init
Page-Init
AxDataSource-CreatingDataSetRun
dataset-init - presuper
datasource-init
dataset-init - postsuper
AxDataSource-InitializedDataSetRun
Page-Load
AxDataSource-Load
AxForm-Load
AxDataSource-RunningDataSetRun
dataset-run - presuper
datasource-executeQuery
dataset-run - postsuper
AxForm-DataBinding
AxForm-ItemCreated
AxGroup-DataBinding
AxBoundField – OnFormattingValue ( for each bound field)
AxForm-DataBound
AxGroup-Load
AxForm-PreRender
AxGroup-PreRender
dataset-pack
AxDataSource-DataSetDetached
AxDataSource-Unload
AxGroup-Unload
AxForm-Unload
Page-Unload
|
AxDataSource-Init
AxGroup-Init
AxForm-Init
Page-Init
AxDataSource-CreatingDataSetRun
dataset-unpack
AxDataSource-DataSetReady
AxForm-ItemCreated
Page-Load
AxDataSource-Load
AxForm-Load
AxGroup-Load
AxForm-ItemCommand
AxForm-ItemUpdating
Table-ValidateField
Table-modifiedField
datasource-validateWrite - presuper
Table-validateWrite
datasource-validateWrite - postsuper
Table-update - presuper
Table-aosValidateUpdate
Table-update - postsuper
datasource-refresh
datasource-write
AxForm-ItemUpdated
AxForm-ModeChanging
AxForm-ModeChanged
AxForm-DataBinding
AxForm-ItemCreated
AxGroup-DataBinding
AxBoundField – OnFormattingValue ( for each bound field)
AxForm-DataBound
AxForm-PreRender
AxGroup-PreRender
dataset-pack
AxDataSource-DataSetDetached
AxDataSource-Unload
AxGroup-Unload
AxForm-Unload
Page-Unload
|
AxDataSource-Init
AxGroup-Init
AxForm-Init
Page-Init
AxDataSource-DataSetReady
AxForm-ItemCreated
Page-Load
AxDataSource-Load
AxForm-Load
AxGroup-Load
AxForm-ItemCommand
AxForm-ItemInserting
Table-ValidateField
Table-modifiedField
datasource-validateWrite - presuper
Table-validateWrite
datasource-validateWrite- postsuper
datasource-write - presuper
Table-insert - presuper
Table-aosValidateInsert
Table-insert - postsuper
datasource-refresh
datasource-write - postsuper
AxForm-ItemInserted
AxForm-ModeChanging
AxForm-ModeChanged
AxForm-DataBinding
AxForm-ItemCreated
AxGroup-DataBinding
AxBoundField – OnFormattingValue ( for each bound field)
AxForm-DataBound
AxForm-PreRender
AxGroup-PreRender
dataset-pack
AxDataSource-DataSetDetached
AxDataSource-Unload
AxGroup-Unload
AxForm-Unload
Page-Unload
|
|
|
No comments:
Post a Comment