Avoid calling events on page refresh

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
 
G

George Ter-Saakov

Finish every action with Response.Redirect to itself.
That would do it.

George.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top