Difference between repeater_itemdatabound and repeater_itemcommand

0

What is the applicability and difference between repeater_itemdatabound and repeater_itemcommand in a repeater?

    
asked by anonymous 18.11.2014 / 12:12

1 answer

3

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 .

MSDN - Repeater ItemCommand
MSDN - Repaeter ItemDataBound

    
18.11.2014 / 12:30