Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net (http://www.velocityreviews.com/forums/f29-asp-net.html)
-   -   Resource Files, Images, And The ImageUrl Property (http://www.velocityreviews.com/forums/t635274-resource-files-images-and-the-imageurl-property.html)

Nathan Sokalski 09-14-2008 05:01 AM

Resource Files, Images, And The ImageUrl Property
 
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.
--
Nathan Sokalski
njsokalski@hotmail.com
http://www.nathansokalski.com/



Munna 09-14-2008 05:39 AM

Re: Resource Files, Images, And The ImageUrl Property
 
Hi

check out this thread..
might help you
http://forums.asp.net/p/1299694/2534052.aspx

Regards

-------
Munna

www.munna.shatkotha.com/blog
www.munna.shatkotha.com
www.shatkotha.com

Nathan Sokalski 09-14-2008 08:15 PM

Re: Resource Files, Images, And The ImageUrl Property
 
No, that does not help. I am looking for a way to use the image stored in
the *.resx file. I do not want to need to upload the original *.gif or
*.jpeg file, that is why I am putting the image in the *.resx file. The page
you mentioned suggests using a String in the *.resx file, which works if you
upload the original image, but if you are going to do that, you may as well
not even use a *.resx file.
--
Nathan Sokalski
njsokalski@hotmail.com
http://www.nathansokalski.com/

"Munna" <munnaonc@gmail.com> wrote in message
news:3dd7327c-14ae-4c07-90a1-1be8b3cafb8a@73g2000hsx.googlegroups.com...
> Hi
>
> check out this thread..
> might help you
> http://forums.asp.net/p/1299694/2534052.aspx
>
> Regards
>
> -------
> Munna
>
> www.munna.shatkotha.com/blog
> www.munna.shatkotha.com
> www.shatkotha.com





All times are GMT. The time now is 06:27 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57