On Demand web service call retry?

3 posts, 0 answers
  1. Fadi
    Fadi avatar
    3 posts
    Member since:
    Jul 2013

    Posted 03 Feb 2015 Link to this post

    We're trying to work around a possible network/browser issue at a client site. Occasionally the on demand web service call is failing. The request the browser  makes is completely empty. Any subsequent call succeeds. Is there any way to retry the web service call up to 3 times before returning an error? It's easy enough in jQuery, but I can't find how to manage the calls myself with the RadComboBox

    Thanks.
  2. Nencho
    Admin
    Nencho avatar
    1458 posts

    Posted 06 Feb 2015 Link to this post

    Hello Fadi,

    You can handle the OnClientItemsRequestingFailed client-side event of the RadComboBox, in order to capture the error if there is any. If the issue originates from the fact that not data is returned, you can use the OnItemRequested. However, in both cases you can use the requestItems method of the RadComboBox to re-initiate a request to the WebService.

    Regarding the requestItems method and other important client-side methods of the RadComboBox, you can refer to the following documentation article :

    http://www.telerik.com/help/aspnet-ajax/combobox-client-side-radcombobox.html

    Regards,
    Nencho
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Fadi
    Fadi avatar
    3 posts
    Member since:
    Jul 2013

    Posted 09 Feb 2015 in reply to Nencho Link to this post

    Thanks for the info, I believe this will work and using a simulated failure it retires perfectly!
Back to Top