RadAjax for ASP.NET

Set maximum request queue size Send comments on this topic.
How-to > Set maximum request queue size

Glossary Item Box

The behavior of the AJAX controls in general is to either ignore further AJAX requests during the execution of the current request or cancel the current one. However this might not be convenient for some applications.

To be able to change the described behavior, all RadAjax controls provide a method called SetMaxRequestQueueSize(int). Using this method you can control the request queue size in RadAjaxNamespace.

By default the queueing of requests is set to queue size of 5 (five) so that using the RadAjax framework you get built-in AJAX queueing functionality. One can set the value to 0 to change the behavior to ignore further requests while the current is executed.

 

This setting is not persisted in ViewState and you should set it each time the Page is loaded!
C# Copy Code
 protected void Page_Load(object sender, EventArgs e)
   {
       <AnyAjaxEnabledControl>.SetMaxRequestQueueSize(5);
   }