Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 295339
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T06:26:57+00:00 2026-05-12T06:26:57+00:00

Behold the following XAML: <Grid> <HyperlinkButton x:Name=Link Background=Green> <Grid Background=Red> <Grid.ColumnDefinitions> <ColumnDefinition Width=Auto />

  • 0

Behold the following XAML:

<Grid>
<HyperlinkButton x:Name="Link" Background="Green">
    <Grid Background="Red">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="12" />
        </Grid.RowDefinitions>
        <Image x:Name="AvatarImage" Style="{StaticResource AvatarStyle}" Grid.Column="0" Grid.Row="0" />
        <StackPanel Grid.Column="1" HorizontalAlignment="Stretch">
            <TextBlock Text="New Topic" Style="{StaticResource ItemTypeStyle}" />
            <TextBlock x:Name="Title" Style="{StaticResource HeadlineStyle}" TextWrapping="Wrap" />
            <TextBlock x:Name="SubText" Style="{StaticResource TextStyle}" TextWrapping="Wrap" />
        </StackPanel>
        <TextBlock x:Name="TimeStampText" Grid.ColumnSpan="2" Grid.Row="1" Style="{StaticResource TimeStampStyle}" />
    </Grid>
</HyperlinkButton>

In the user control’s Loaded event, I call the following code:

var imageUrl = new Uri("http://coasterbuzz.com/Forums/UserAvatar.ashx?id=2");
AvatarImage.Source = new BitmapImage(imageUrl);

Looking at Firebug, the image is coming down the wire, but for some reason it’s not displayed. Any guesses as to why? You’d probably like to see the styles, but note that if I remove the styles, nothing changes.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T06:26:57+00:00Added an answer on May 12, 2026 at 6:26 am

    Ah, easy answer. Silverlight 2 doesn’t support GIF.

    There is a handful of solutions to convert the image serverside here: http://silverlight.net/forums/t/3883.aspx

    The most official reason I can find:

    Why the support for displaying a .gif
    image is is missing? When it will be
    added?

    We don’t want to take the hit for
    another codec. It may only be a little
    bit of download time—but our mandate
    is small and fast and every little bit
    counts. We are also hesitant to
    support .gif because it implies
    support for animated .gif, which we
    decided would have to be integrated
    into our animation scheme somehow—and
    that will be a lot of work.

    Looking from Flash perspective, Flash
    does not support .gif either. However,
    as of present, this is something being
    evaluated, but no date has been
    announced

    http://blogs.msdn.com/ashish/archive/2008/04/03/silverlight-roadmap-questions.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 260k
  • Answers 260k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer This should answer your question: http://www.thefutureoftheweb.com/blog/image-onload-isnt-being-called You just need to… May 13, 2026 at 11:30 am
  • Editorial Team
    Editorial Team added an answer To get the latest 5 downloads you should be able… May 13, 2026 at 11:30 am
  • Editorial Team
    Editorial Team added an answer I found it. I use the Dataview and send the… May 13, 2026 at 11:30 am

Related Questions

I'm currently doing a project in C# working with windows forms. During the course
I didn't imagine that I would encounter radically new syntax in Java anymore at
I have subclassed Form to include some extra functionality, which boils down to a
Once upon a time I had a valid doctype and valid XML. I put

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.