LoadingPanel is not being displayed from client side method when InitialDelayTime is not "0"

2 posts, 1 answers
  1. Denis
    Denis avatar
    18 posts
    Member since:
    Feb 2009

    Posted 21 Feb 2010 Link to this post

    In my case I don't use loading panel for AJAX requests. I use it as loading image animation. From client code I update img->src and show loading panel as it is described here:
    http://www.telerik.com/help/aspnet-ajax/ajxshowhideloadingpanel.html
    The only difference that I use it out ajax request.
    After image is loaded (onload event) I hide panel.

    It is displayed correctly if InitialDelayTime is set to 0. And doesn't being displayed at all if InitialDelayTime is not 0.
    Regarding my investigation it happens by design.
    Please confirm that I'm right.

    Thank you.

    PS: if you know more rational way to show loading animation while getting big images, please share it here :)

  2. Answer
    Dimo
    Admin
    Dimo avatar
    8446 posts

    Posted 23 Feb 2010 Link to this post

    Hello Denis,

    Your observation is correct - RadAjaxLoadingPanel cannot be shown with a delay if you don't have a real AJAX request going on.

    If you need to use some delay, please execute the loading panel's show() method with a timeout of your preference.

    All the best,
    Dimo
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top