Avoid calling events on page refresh

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I want to avoid the events being called when page is refreshed. For eg: I
call a button event that modifies some data in the database. If i press F5 on
the same page again the button event is fired and data is modified. How do I
avoid it?

Thanks in advance
Priya
 
Finish every action with Response.Redirect to itself.
That would do it.

George.
 
Back
Top