This is a migrated thread and some comments may be shown as answers.

OnDemand Slide view preview template question

3 Answers 50 Views
SlideView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Doug
Top achievements
Rank 1
Doug asked on 12 Jun 2012, 08:50 AM
Hi

The item preview template is only shown for a fraction of a second.. Is it possible to show it until the larger image is loaded, and if yes how can I do it? I'm using it the same way as in the example by the way.

Thanks in advance.
Best Regards Doug

3 Answers, 1 is accepted

Sort by
0
Kiril Stanoev
Telerik team
answered on 14 Jun 2012, 01:31 PM
Hi Doug,

I'm not sure that I fully understand what the issue here is. If you're loading your images from the XAP of your application, it is normal for the preview template to show just for a fraction of a second. Could you please explain in more details what your scenario is where you are loading your images from. I'd be glad to further assist you.

Kind regards,
Kiril Stanoev
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Doug
Top achievements
Rank 1
answered on 15 Jun 2012, 07:24 AM
So... I'm getting both of the images from a server (preview image and full size image). The preview image is 170x170 pixels and it is only shown for a fraction of a second in the meanwhile the large image loads which has a large resolution so it takes a while for it to load, but I only have a black screen during that time, I would like to show the little preview image until the large image loads.
0
Kiril Stanoev
Telerik team
answered on 20 Jun 2012, 08:36 AM
Hello Doug,

Thank you for clarifying your scenario. Now I understand what you're actually trying to achieve. Unfortunately, this scenario is not yet supported by RadSlideView. The ItemPreviewTemplate is used mainly in scenarios that involve the AdjacentItemsPreviewMode property. Currently, RadSlideView does not have a mechanism to determine if there is an Image control inside its ItemPreviewTemplate and whether this Image has finished loading.

However, we think that the scenario you described should be supported by RadSlideView (i.e. the ItemPreviewTemplate should hide itself only after the image inside of the ItemTemplate has finished loading). I've logged this request in our tracking system and as soon as we prioritize it we will start working on it. Meanwhile, if you have further questions or comments, don't hesitate to contact us. I'd be glad to assist you.

Finally, let me thank you for the great feedback. I've also updated your Telerik points accordingly.

Regards,
Kiril Stanoev
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
SlideView
Asked by
Doug
Top achievements
Rank 1
Answers by
Kiril Stanoev
Telerik team
Doug
Top achievements
Rank 1
Share this question
or