User Profile & Activity

Ashley Slaughter Member
Posted: October 28, 2009 5:36 PM

I'm tried adding one image to the coverflow and it does not show up.  The browser also throws an error when I click the Last button in the control (sort of like a Javascript error with the error icon appearing in the bottom left corner of the browser).  I've attached a file with screenshots of the error (couldn't copy and paste the text).

I'm not using a Uri to set the image source.  The BitmapImage is pulled in from a database and loaded into an Employee object.  The BitmapImage is exposed via the Photo property.  I'm positive the image loaded correctly because I can set the source of an Image control to the Photo property and it displays correctly.

Here's the source code:

WebCoverFlowItem c = new WebCoverFlowItem();
c.ImageSource = employee.Photo;
c.ItemName =
"Item1";
c.Title =
"Title1";
coverFlow.Items.Add(c);
Posted: October 27, 2009 11:00 AM

Does not work.

All times are GMT -5. The time now is 7:38 PM.
Previous Next