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

  • SEARCH
  • Home
  • 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 386083
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T15:32:32+00:00 2026-05-12T15:32:32+00:00

I am creating a FlippingBook Silverlight application and I have run into a snag

  • 0

I am creating a FlippingBook Silverlight application and I have run into a snag that I cannot seem to solve.

The problem is with Asyncrously loaded Images. I have written a class that loads an image from a webaddress and stores it in a BitmapImage object.

I bind to this image object to the Image Source on the silverlight image control.
Now my Page and the Thumbnail both access the same ImageData Property that stores the images data.

The thumbnails list is a listbox that have been styled to serves as a thumbnail viewer.

Both the book and the listbox have same itemsource too, which is why the issues baffles me.

Everything is working with the images being loaded in the background and updating the UI when they have been loaded… EXCEPT the first 3 (and always the first 3) items in the thumbnail listbox never show the imagedata.

This is an image to illustrate the UI and problem:
alt text http://www.pcbuyersguide.co.za/picture.php?albumid=19&pictureid=895

Code Binding Image on Page:

    <Image Source="{Binding ImageData}" Stretch="Fill" ImageFailed="Image_ImageFailed"/>

Code Binding Image on Thumbnail(Styled ListboxItem):

    <Image Stretch="Fill" Source="{Binding ImageData}"/>

Property:

   public BitmapImage ImageData
    {
        get { return oImageData; }
        set
        {
            if (value != this.oImageData)
            {
                this.oImageData = value;
                NotifyPropertyChanged("ImageData");
            }
        }
    }

I have tested with images that take long to load and it is all working, but it’s just these first 3 that are giving me hell. I don’t understand as the items are bound and should effectively all be the same.

The ItemSource is an observablecollection. I know I haven’t given a great deal of information but I want to try and focus my question. If you need more info I will be happy to provide it.

Any Help would be greatly appreciated.

  • 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-12T15:32:32+00:00Added an answer on May 12, 2026 at 3:32 pm

    It turned out to be a problem with a style on the ItemContentStyle that I had defined.
    I had the root Grid set to a certain fixed size which it appears silverlight doesn’t like so I set the size on the image instead and did some other tweaks and it seemed to come right.

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

Sidebar

Related Questions

When creating a web application, and lets say you have a User object denoting
Creating a call stack diagram We have just recently been thrown into a big
Im creating an Odata service that is being exposed to an IPhone application and
Im creating an RSS reader app...but I have noticed that UIWebView renders the RSS
While creating classes in Java I often find myself creating instance-level collections that I
While creating a simple client for a REST service which I have stubbed out,
When creating projects in Hudson, I usually have to check a few CVS repositories
I have a new web app that is packaged as a WAR as part
Creating a voting system just like stackoverflow. Questions like this have been asking several
Creating a patch utility that will update my current website with my patch. when

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.