New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

Ajax Requests Are Queueing When Using the AjaxManager


Product Progress® Telerik® UI for ASP.NET AJAX AjaxManager


How can I prevent the cancellation of the ongoing AJAX request when I try to initiate another request prior to receiving the response from the first one?


By design, 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. To change this behavior, set the RequestQueueSize property to a value greater than zero. In this way, you will enable the queueing mechanism of the RadAjax and will be able to complete the ongoing request and initiate the pending requests in the control queue.

If the queue size equals RequestQueueSize, meaning the queue is full, an attempt for new AJAX requests will be discarded. By default, the queue size value is 0 and queueing is disabled.

protected void Page_Load(object sender, EventArgs e)    


        <RadAjaxControl>.RequestQueueSize = 3;    


Protected Sub Page_Load(sender As Object, e As EventArgs) Handles Me.Load
    <RadAjaxControl>.RequestQueueSize = 3
End Sub

See Also

In this article