S
Stan
If a page has a button with event handler
private void btnAdd_Click(object sender, System.EventArgs e)
{
.......
}
this event handler fires every time I refresh the page in the browser with
F5 AFTER
the button was clicked.
So the pages loads the first time.
clicking F5 does normal postback and refresh
Add button clicked, btn_Add_Click is called
Now if I click F5 btn_AddClick is called again...
If there two buttons on the page, whichever was clicked last will be
executed again on F5.
How can I stop it?
Thanks,
-Stan
private void btnAdd_Click(object sender, System.EventArgs e)
{
.......
}
this event handler fires every time I refresh the page in the browser with
F5 AFTER
the button was clicked.
So the pages loads the first time.
clicking F5 does normal postback and refresh
Add button clicked, btn_Add_Click is called
Now if I click F5 btn_AddClick is called again...
If there two buttons on the page, whichever was clicked last will be
executed again on F5.
How can I stop it?
Thanks,
-Stan