I have a repeater that has a LinkButton in one of its columns and I have the onclick event wired up. When the user clicks on one of the options, I need to know in the event which LinkButton they clicked on. What is the best practice to do this?
You should use the OnCommand
event instead of OnClick
use some CommandName
and CommandArgument
to distinguish b/w items. This MSDN page has an example.