I am using a ListView Control. In the ItemTemplate of the ListView, I create ImageButton controls for all of the images found in my datasource. I want to use jQuery click event so that when I click on one of the images - I fire the jQuery function passing the ImageUrl property of the ImageButton. I am setting the ImageUrl like this: ImageUrl='<%# Bind("BoxArt.MediumUrl") %>'
I am not sure how to accomplish this. Any help provided will be very much appreciated.
I am using 4.0 .Net Framework. I have this in my webconfig:
<pages clientIDMode="Static"></pages> which is setting all of the ImageControls created in my ListView with an ID of "imgMovie".