Author: s_rajasuresh | Posted on: 10/28/2010 5:50:11 AM | Views : 264

Hi. If an ASP.NET page postsback, for example, after a button is clicked, and then I refresh the page (ie, by pressing F5 key), why does the same event occur when I press F5 as it did when I clicked the button? For example - On an ASP.NET webform I click a button which produces a postback and a Button.Click event. After the postback, I press F5 to refresh my webform, which executes Button.Click again. Is there a way to prevent the same event from firing again if a page refresh occurrs?

Go to the complete details ...