Levente Mihály
Top achievements
Rank 1
Levente Mihály
asked on 18 Nov 2008, 08:40 AM
Hi,
maybe it's a basic question, but i can't figure it out. I'm loading my images from database, receiving byte arrays, and converting them to first BitmapImages then to Images. Now i have a List<Image> collection, and i want to set this collection as source for the CoverFlow. When i do this, every time only the default "loading" image appears.
I tried: coverFlow.ItemsSource = imageList; and also coverFlow.DataContext = imageList (and setting ItemsSource to {Binding}.
So, what am i missing, how can i display these images?
thanks,
Levente
maybe it's a basic question, but i can't figure it out. I'm loading my images from database, receiving byte arrays, and converting them to first BitmapImages then to Images. Now i have a List<Image> collection, and i want to set this collection as source for the CoverFlow. When i do this, every time only the default "loading" image appears.
I tried: coverFlow.ItemsSource = imageList; and also coverFlow.DataContext = imageList (and setting ItemsSource to {Binding}.
So, what am i missing, how can i display these images?
thanks,
Levente
8 Answers, 1 is accepted
0
Serrin
Top achievements
Rank 1
answered on 18 Nov 2008, 08:51 PM
Hi Levente,
Have you tried loading the images into an ObservableCollection<T> like in this demo:
http://demos.telerik.com/silverlight/#CoverFlow/ItemsSource
Also, how are you retrieving the images from the database? I know when I was working on something similar through WCF I was having a problem with my webservice that was screwing up my result and not giving me any usable pictures. :)
Have you tried loading the images into an ObservableCollection<T> like in this demo:
http://demos.telerik.com/silverlight/#CoverFlow/ItemsSource
Also, how are you retrieving the images from the database? I know when I was working on something similar through WCF I was having a problem with my webservice that was screwing up my result and not giving me any usable pictures. :)
0
Hi Levente Mihály,
Miroslav Nedyalkov
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
The coverflow waits for the images to load and then it switches the loading image with the real one. In your case the event of the BitmapImage - DownloadProgress is not fired at all, because the data is already downloaded. We will fix this for service pack 2 (at the middle of December). Let us know if you need the fix earlier.
Best wishes,Miroslav Nedyalkov
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Levente Mihály
Top achievements
Rank 1
answered on 19 Nov 2008, 01:28 PM
Thank you for your answer.
If it's possible we would be happy to have the fix by the end of November.
Thanks again,
Levente
If it's possible we would be happy to have the fix by the end of November.
Thanks again,
Levente
0
Accepted
Hello Levente Mihály,
We will address the issue with the service pack(mid of December). I hope this timeframe is acceptable for you. If a fix is ready prior to the SP1 release date, we will send it to you right away.
All the best,
Miroslav Nedyalkov
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
We will address the issue with the service pack(mid of December). I hope this timeframe is acceptable for you. If a fix is ready prior to the SP1 release date, we will send it to you right away.
All the best,
Miroslav Nedyalkov
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Levente Mihály
Top achievements
Rank 1
answered on 21 Nov 2008, 09:05 AM
Yes, thank you, that'll be fine.
Regards,
Levente
Regards,
Levente
0
Levente Mihály
Top achievements
Rank 1
answered on 18 Dec 2008, 11:22 AM
So, when the service pack will be released (with the fix for this problem)?
0
0
Levente Mihály
Top achievements
Rank 1
answered on 19 Dec 2008, 12:17 PM
Thanks!