This is a migrated thread and some comments may be shown as answers.

[Solved] Canceling RadGrid Async Request

1 Answer 109 Views
Grid
This is a migrated thread and some comments may be shown as answers.
space
Top achievements
Rank 1
space asked on 26 May 2009, 09:10 PM
Is it possible to cancel an existing radgrid async request. For example I have a search button that will use javascript to asynchronously refresh a radgrid control by doing something like this:

window['<%= mygrid.ClientID %>'].AsyncRequest('<%= mygrid.UniqueID', 'search');

However if the user finds that the query is taking too long they should be able to search again. In this scenario the javascript should kill the existing request and start a new one. However I am seeing that if I just use the code above the page will wait for the existing request to finish before launching a second request. Is there a way to alter this behavior so that the first asynrequest call is canceled and the page no longer waits for a response? 

1 Answer, 1 is accepted

Sort by
0
space
Top achievements
Rank 1
answered on 27 May 2009, 05:48 PM
Anyone? Is there anyway I can clarify my question? Can anyone at least confirm this is not possible with radgrid? 
Tags
Grid
Asked by
space
Top achievements
Rank 1
Answers by
space
Top achievements
Rank 1
Share this question
or