I have create a Event Handler of Dynamic Save Button. it is working properly. But after Save if I press F5 or Refress Button. Thr Event Handler again executed and Save Duplicate Data.
Provide Solution for the same.
Thank You.
The functionality is performing as it should do. If you want to avoid this, redirect the user after you have performed the save (you can redirect back to the same page if necessary).
Make sure you use the Redirect method and not the Server.Transfer as I forgot about the fact that although the page looks like another page, if you hit refresh, it issues the previous postback.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.