Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
920
display button images instead of ints
posted

Hi I have a relatively simple need.

I'm binding data to a grid and in one column I'm binding an int that is either a 0, 1, or 2.

When this grid is displayed I want a button to show up instead of an int and the button will show a different picture either a padlock for 2 or a stopwatch for 1 etc.

Just wondering what the key steps are to doing this.  Where do I assign an Image to the button based on the bound underlying int.