Difference between repeater_itemdatabound and repeater_itemcommand

Asked

Viewed 34 times

0

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

1 answer

3


There’s quite a difference, and understand why:

Repeater_itemdatabound

This event is associated with linking the data when rendering the page, that is, it occurs during the construction of the Repeater. It’s basically the Repeater constructor event.

Repeater_itemcommand

This event is associated with an action that will occur from an element within the Index, that is, may be linked to the click a button inside the Peater. These are events held after the Repeater Itemdatabound.

MSDN - Repeater Itemcommand
MSDN - Repaeter Itemdatabound

Browser other questions tagged

You are not signed in. Login or sign up in order to post.