Q:

Send gridview data from client side to server side at once

In an ASP.NET 2.0 web application, there is a gridview containing checkbox in first column.
When checkbox is checked either Header Checkbox or Row Checkbox, OnCheckChange event triggers on server side. In this event, the specfic row data or all rows data (in case of header checkbox) is added to a data table in session for further processing. Along side this, it call a few javascript function as well to check/uncheck the checkboxes, highlight the row on client side.
In case, when user wanted to check multiple checkbox but not via header checkbox.  It's behavior gets wrong. If user quickly check the checkbox, few checkboxes are checked and few remain unchecked.
What I guess is that since on each OnCheckChange event there is a request to server side and then some js methods so it takes time, but befor request completeed, user checked the next checkbox and it is not actually checked.
Is there any way, I can allow user to check how many checkboxes he/she wants to check and then send them to server for storing in data table ?
Suggestions are appreciated.

A:

You should add loader for this kind of functionality. I hope you should be using update panel. You can add update progress control for the time request is processing on server side. It will hint the user to wait. You can also use ajax request by jquery to do similar kind of work.

