How set MinDisplayTime dunamically based on response

2 posts, 0 answers
  1. Anand Kesavan
    Anand Kesavan avatar
    7 posts
    Member since:
    May 2010

    Posted 28 Oct 2010 Link to this post

    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 
  2. Dimo
    Admin
    Dimo avatar
    8331 posts

    Posted 29 Oct 2010 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top