Hello I have a RadListBox with ItemTemplates which have image button inside, how can I pick the event when the button is clicked as I see RadListBox has no OnItemCommand event.
In my case I put custom delete button inside ItemTemplate like this
In my case I put custom delete button inside ItemTemplate like this
<telerik:RadListBox ID="listboxAddresses" Height="158" Width="200" runat="server"> |
<ItemTemplate> |
<div class="ListBoxItem"> |
<table width="130"> |
<tr> |
<td> |
<asp:Label ID="lblCity" runat="server"></asp:Label> |
<br /> |
<asp:Label ID="lblAddress" runat="server"></asp:Label> |
</td> |
<td align="right" width="15"> |
<asp:ImageButton ID="btnDelete" CommandName="Delete" ImageUrl="~/Images/icons/delete.png" runat="server" /> |
</td> |
</tr> |
</table> |
</div> |
</ItemTemplate> |
</telerik:RadListBox> |