Details about application:
I have a CGridView with a checkbox column. A cancel (ajax submit) button out of gridview. Now the user can select any row and press cancel button to call a controller’s action.
The issue is that, if user presses cancel button multiple times (repeatedly) before the first request has been completed, the corresponding action is also called multiple times, causing invalid entries.
Font End: To prevent users from pressing a button which has been previously pressed and previous request has not been completed yet.
Back End: Code the controller’s action to be aware of this kind of multiple calls, and ignore if previous call was not completed.
Waiting for your replies please.