Hello Andy,
You can attach handler for the client-side
onmousedown event of the
RadImageGallery wrapping DIV element and if the event target is IMG tag, manually add new item to the
RadLightBox control and open it. Here is an example with
RadLightBox control and
RadImageGallery:
If you need to use another listbox control you will have to modify the JavaScript accordingly, but the same approach could be used for retrieving the URL of the image. As for changing the generated structure you may have to use templates as documented in the following help article:
Hope this helps.
Regards,
Konstantin Dikov
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items