I have a RadRotator with 2 different LinkButtons inside the template. Each LinkButton has a command argument that is pulled from the database. What is the easiest way to determine which LinkButton was clicked in the Rotator_ItemClick event? The problem that I am having is that I can't determine which LinkButton was clicked so that I can execute specific server side code.
<
telerik:RadRotator
ID
=
"RadRotator1"
runat
=
"server"
DataSourceID
=
"dsProducts"
RotatorType
=
"CoverFlowButtons"
Skin
=
"Forest"
Width
=
"625px"
Height
=
"350px"
ItemHeight
=
"350px"
ItemWidth
=
"551px"
PauseOnMouseOver
=
"true"
BorderStyle
=
"None"
>
<
ItemTemplate
>
<
asp:LinkButton
ID
=
"lnkAddTestimonial"
runat
=
"server"
CommandName
=
"AddTestimonial"
CommandArgument='<%# Eval("ProductID") %>'>Add Review</
asp:LinkButton
>
<
asp:LinkButton
ID
=
"lnkViewTestimonials"
runat
=
"server"
CommandName
=
"ViewTestimonials"
CommandArgument='<%# Eval("ProductID") %>'>Read Reviews</
asp:LinkButton
>
</
ItemTemplate
>
</
telerik:RadRotator
>