What is the applicability and difference between repeater_itemdatabound and repeater_itemcommand in a repeater?
What is the applicability and difference between repeater_itemdatabound and repeater_itemcommand in a repeater?
There's a lot of difference, and understand why:
Repeater_ItemDataBound
This event is associated with data binding at the time of rendering the page, ie it occurs during the construction of Repeater
. It's basically the repeater builder event.
Repeater_ItemCommand
This event is associated with an action that will occur from an element within the repeater, that is, it may be bound to the click
of a button within the repeater. These events occur after the Repeater ItemDataBound .