Abort a radAjax Request that is currently processing

2 posts, 0 answers
  1. Stephen
    Stephen avatar
    3 posts
    Member since:
    May 2012

    Posted 26 Sep 2013 Link to this post

    Hello,

    I'm tyring with no luck to determine if there is a way to abandon a request that has already been sent to the server.  I am using a menu to load user controls with data, occasionaly one of those user controls may run a query that takes 15+ seconds, if the user clicks on another menu item (rad treeview node) a second ajax request is "queued", and executes after the first one finishes 15 seconds later.

    I would like the second menu click to abort the first request and start processing.

    is this possible?

    thanks,
  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 01 Oct 2013 Link to this post

    Hello Stephen,

    As I mentioned in the support ticket you have opened for the same issue by default the ASP.NET AJAX Framework cancels the ongoing ajax request if you try to initiate another one prior to receiving the response from the first one. See the help topic below:
    http://www.telerik.com/help/aspnet-ajax/ajax-request-queuesize.html

    Also I have prepared a small video which demonstrates exactly the same behavior:
    http://screencast.com/t/0TJ0BUgGt

    Regards,
    Maria Ilieva
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top