Skip to main content

Microsoft Silverlight

Answered Question Problem displaying an imageRSS Feed

(0)

regor
regor

Member

Member

1 points

6 Posts

Problem displaying an image

This is is probably an IIS question, but here goes:

 I'm debugging my project in the local IIS server, because the ASP.NET dev web server has never worked for me, plus this way I can catch things like this, I guess. Anyway, I have an image in XAML:

                <Image Width="300">
                    <Image.Source>
                        <BitmapImage UriSource="Images/logo.png"/>
                    </Image.Source>
                </Image>

 ....and a folder 'Images' in my Silverlight project, as well as the host ASP project (witch is also the virtual folder for the site), but nothing displays. All I keep getting is "AG_E NETWORK ERROR".

lijoputhuval
lijoputh...

Member

Member

108 points

51 Posts

Re: Problem displaying an image

Hi Regor

the code u wrote here is perfect no problem in that.can u pls paste the whole xaml here.

 

with Regards
Lijo

K2P2
K2P2

Participant

Participant

1028 points

337 Posts

Answered Question

Re: Problem displaying an image

This is a good post:  http://silverlight.net/forums/t/11987.aspx

The last entry is how I fixed it.

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities