My problem seems simple, but for some reason, I can’t quite seem to fix it.
I need to set an image, in silverlight, based on a remote image file.
I am aware, that Silverlight can not read the clients filesystem, but what about the servers filesystem? Or another remote shared filesystem?
How do I get it to read a .png file, that is stored in a public location, and set my Image control to it?
This should work:
You should also be able to set the
Sourcein the C# code as well via the following code:This assumes that you have permission to read the image at that location.