开发者

Button click is again fired on reload

When page is reloaded it again goes to last e开发者_如何学JAVAvent(e.g. Button click).Is there any way to prevent this?


If you are reloading the page by 'refreshing' (F5), and clicking to accept the resubmission of values, the button click event firing again is by design.

If it's something else, we need much more information to help.


Try to add a Response.Redirect to the current page in the end of your event handler.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜