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

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

1 Answer 50 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Denis
Top achievements
Rank 1
Denis asked on 22 Feb 2010, 05:14 AM

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

1 Answer, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 23 Feb 2010, 09:44 AM
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.
Tags
Ajax
Asked by
Denis
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or