How do I get the current Item binding data in the REPEATER event?

zhaozj2021-02-16  72

How do I get the current Item binding data in the REPEATER event?

I use the REPEATER to implement a message. ItemTemplate in my Repeater (ID is RP1) has a LinkButton (ID to delete the message).

Message Table Message (ID, UserName, Message)

I want to use the client script to implement the previous confirmation operation. That is prompted to appear a script dialog before deleting. "Do you confirm that you want to delete the message of username?" Where username comes from the binding data of Repeater, different Item, the bound UserName value is also different.

After Acewang (Dragonfly * Inside!) And SVG (BEN) two prawns, my last implementation approach is as follows:

Display page: