You could disable the page navigation links until the server comes back 
with the new page data.  It will still be faster than a complete page 
reload because you won't be fetching the css, etc. again.

On Sunday, May 27, 2012 12:29:40 PM UTC-4, Anthony wrote:
>
> But isn't there a risk of a race condition because of the asynchronous 
>> updates?  What happens if the user clicks the delete button and immediately 
>> clicks the next page link?
>>
>
> I suppose it's possible for the request for the next page to be served 
> before the delete operation completes, but probably very unlikely given how 
> long it would take to go from clicking the delete button to clicking the 
> next page link. Actually, it would probably be better to serve the next 
> page request before the delete anyway -- otherwise the next page will 
> probably be missing what should be the first record because the new query 
> will assume that first record was actually the last record of the previous 
> page (because of the deleted row).
>
> Anthony 
>

Reply via email to