Silverlight - Image Not Loading from URI at Runtime!?

Posted by Sootah on Stack Overflow See other posts from Stack Overflow or by Sootah
Published on 2011-01-16T05:37:12Z Indexed on 2011/01/16 5:54 UTC
Read the original article Hit count: 388

I've added an image element to my Silverlight app, and while the image pulls right up when in design mode, it doesn't load at all when running the app.

Code is:

<Image Height="95" 
       HorizontalAlignment="Left" 
       Margin="12,541,0,0" 
       Name="imgBannerAd" 
       Stretch="Fill" 
       VerticalAlignment="Top" 
       Width="828" 
       Source="http://myurl.com/images/theimage.png" 
       />

What's the deal? I'd tried running the file via the local hard drive and localhost, neither has any effect.

© Stack Overflow or respective owner

Related posts about c#

Related posts about Silverlight