OnDemand Slide view preview template question

4 posts, 0 answers
  1. Doug
    Doug avatar
    49 posts
    Member since:
    May 2012

    Posted 12 Jun 2012 Link to this post

    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
  2. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1512 posts

    Posted 14 Jun 2012 Link to this post

    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 >>

  3. DevCraft banner
  4. Doug
    Doug avatar
    49 posts
    Member since:
    May 2012

    Posted 15 Jun 2012 Link to this post

    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.
  5. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1512 posts

    Posted 20 Jun 2012 Link to this post

    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 >>

Back to Top