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

How set MinDisplayTime dunamically based on response

1 Answer 94 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Anand Kesavan
Top achievements
Rank 1
Anand Kesavan asked on 28 Oct 2010, 09:24 PM
Hi,
       Is it possible to set the MinDisplayTime  on telerik:RadAjaxLoadingPanel  based in response time from service/server.  Thats is based on the callback response from a webservice. I need to set this dynamically!!!.

I used this control in my app on huge data manipulation code, since the response time  is huge i get  'Script timeout error"  after 2 mins, thats why i need to change this values dunamically.

In case if we have any other methos please share with me.

Thanks
Anand Kesavan 

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 29 Oct 2010, 07:37 AM
Hi Anand,

I am not sure I understand your scenario correctly, but I suppose that showing and hiding the RadAjaxLoadingPanel manually may be more convenient in your case:

http://www.telerik.com/help/aspnet-ajax/ajxshowhideloadingpanel.html

The above example uses the RadAjaxManager's OnRequestStart and OnResponseEnd events, however, you can use any events to do the same.

On the other hand, you can set the MinDisplayTime property at runtime just like any other property of any other control in any of the available page lifecycle events - there are no additional "special" opportunities with regard to the RadAjaxLoadingPanel.

Greetings,
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
Anand Kesavan
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or