Using an ImageButton in Repeater control...How do I resolve the row's ID for the button's event?

M

matt

I want to use a Image Button inside a asp:Repeater control. I understand
you handle the click of the button in the repeater's ItemCommand event. The
one thing I don't understand is how do I know which row's button I clicked,
since there will be an ImageButton per row of data. I cannot find a way to
associate the ImageButton with the row's unique ID so I can perform some
action against the DB using that ID.

Thanks in advance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top