N
Nathan Sokalski
I have a resource file (*.resx) with several images in it. I am having
trouble finding a way to use these images for controls such as Image,
ImageButton, and other controls that an image can be assigned to. I have no
trouble using String resources, but since the ImageUrl property expects a
String, not an image, I am having trouple here. The only solution I can come
up with is to create an extra Page that takes a querystring and returns an
image, and then use that as the value for the ImageUrl, but it doesn't seem
like that should be necessary. Is there a way to get a string that can be
assigned to the ImageUrl property, or some way to access the images without
saving them as individual files? Thanks.
trouble finding a way to use these images for controls such as Image,
ImageButton, and other controls that an image can be assigned to. I have no
trouble using String resources, but since the ImageUrl property expects a
String, not an image, I am having trouple here. The only solution I can come
up with is to create an extra Page that takes a querystring and returns an
image, and then use that as the value for the ImageUrl, but it doesn't seem
like that should be necessary. Is there a way to get a string that can be
assigned to the ImageUrl property, or some way to access the images without
saving them as individual files? Thanks.