Click here to Skip to main content
15,887,175 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I would like to have image buttons which are placed horizontally, when a button clicked it gets a selected image and other buttons gets their unselected images (probably grayed ones). So this functionality is little similar to radio button functionality.

Is there any control there? If not how I can go about achieving this?

Thanks,

Vijay
Posted

1 solution

You can do this in the codebehind by handling the ImageButtons click event and assigning the releveant images to all of the buttons.

If you're planning to create a Gallery type control, it may be worth looking into some of the lightbox scripts.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900