Good morning everyone,
I have RadListBox with ItemTemplate like this:
<ItemTemplate>
<asp:ImageButton runat="server" ID="imgTrashIcon" ImageUrl="~/url" />
<asp:Literal runat="server" ID="ltr" Text='<%# Eval("") %>' />
</ItemTemplate>
Can I delegate ImageButtons' OnClick event to the ListBoxItem i. e. it fires (and returns current data item) only when I click on the image, but not on the rest part of list box item.
Thanx a lot
I have RadListBox with ItemTemplate like this:
<ItemTemplate>
<asp:ImageButton runat="server" ID="imgTrashIcon" ImageUrl="~/url" />
<asp:Literal runat="server" ID="ltr" Text='<%# Eval("") %>' />
</ItemTemplate>
Can I delegate ImageButtons' OnClick event to the ListBoxItem i. e. it fires (and returns current data item) only when I click on the image, but not on the rest part of list box item.
Thanx a lot