Trying to get an Image Path of a variable specified in a usercontrol
I have a usercontrol which displays colour swatches depending on whether or not the colour has been selected using a true/false datatype. A colour is actually an ImageButton and when I click the button I need an Image to change to reflect the color.
I am using a switch statement (because there is potentially more than one colour)
Trying to get an Image Path of a variable specified in a usercontrol
I have a usercontrol which displays colour swatches depending on whether or not the colour has been selected using a true/false datatype.
A colour is actually an ImageButton and when I click the button I need an Image to change to reflect the color.
I am using a switch statement (because there is potentially more than one colour)
and this is working fine when I run it in Visual Studio.
My problem is, getting the path of the image into the variable prodImgBlack. I have tried the following but it still only returns the image id.
In my full code I will be specifying more than one image parameter in the macro. Is anyone able to help me out?!
Thanks,
Rachel
is working on a reply...