How do I use the “Post/Redirect/Get” a.k.a. “Redirect after Post” with asp.net
问题 Doing a refresh after certain action in asp.net seems to make them happen again even when that action doesn't make sense (think double delete). The web way to deal with this situation is to redirect after a post to get a clean version of the page that can be refreshed without reposting an action to the webserver. How can I do this with ASP.NET 回答1: I have a feeling there is a deeper problem I'm not getting but here goes. In your postback event: // the post handling logic, e.g. the click event