This is a migrated thread and some comments may be shown as answers.

RadBinaryImage inside ListView Select

1 Answer 95 Views
ListView
This is a migrated thread and some comments may be shown as answers.
robertgalvinjr
Top achievements
Rank 1
robertgalvinjr asked on 10 Dec 2009, 02:14 PM
I cannot figure out how to fire the selectitem event when clicking on a RadBinaryImage object that is inside a RadListView. Is this possible? I do not want to have any other visible buttons, just the RadBinaryImage must be visible inside the listview. Once the binaryimage is clicked I need to see the dataitem and do something with it. Any suggestions?

1 Answer, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 10 Dec 2009, 04:17 PM
Hello robertgalvinjr,

Have you considered wrapping the binary image inside asp LinkButton with no text and CommandName = "Select"? This is the approach used for the second RadListView instance on the 'First Look' online demo of the product:

http://demos.telerik.com/aspnet-ajax/listview/examples/firstlook/defaultcs.aspx

Kind regards,
Sebastian
the Telerik team


Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
ListView
Asked by
robertgalvinjr
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Share this question
or