ASP.Net 4.0 image select and change source

Brave

New Member
If I have a set of image (buttons) or even just plane images, 5 in a row, and I want to achieve the following, what would be the easiest way, I can't realy find a good solutions to this:
  • On clicking either of the images, it needs to get a new src, but others need to be restored to the original state.
  • A Asp:Label needs to be set on clicking, based on the image clicked
  • On doing a PostBack, I need to know which one is selected
Asside from this, it's asp.net 4.0, so single quotes are giving me javascript pain.
 
Back
Top