I have a number of gifs in a folder on my web server /dir/subdir/bla.gif
etc.
On that same server is a Silverlight 3 application /ClientBin/bla.xap
.
Is there any way to display the gifs in the Silverlight app?
I've tried <Image x:Name=img" />
and then in code setting this.img.Source=new BitmapImage(new Uri("/dir/subdir/bla.gif"))
with no success.
Any ideas welcome.
You might look into Silverlight ImageTools on Codeplex: http://imagetools.codeplex.com/
Silverlight does not natively support GIF. If you want to spend some money, you can buy a third party control, such as this one: http://www.componentone.com/SuperProducts/ImageSilverlight/