I am using a Telerik RadGrid in ASP.Net framework. I create Buy procedure and when I press (Buy) it must subtract 1 from the column quantity. It works correctly but if I press F5 or refresh, it continues subtracting 1 by 1. Every refresh subtracts 1 from the quantity. How can i prevent that? image description here
Share
When you hit the refresh button after you submit, the browser will attempt to send the same values (via a POST method) to your site, and will usually ask you for confirmation before doing so.
If you wish to avoid this from happening, you can try the following: