如何禁用刷新按钮以防止数据重复?我使用了很多代码,但它们没有工作...... [英] How to disable refresh button for preventing data duplication ? i have used alot of codes but they are not working......
本文介绍了如何禁用刷新按钮以防止数据重复?我使用了很多代码,但它们没有工作......的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何禁用刷新按钮以防止数据重复?我已经使用了很多代码,但它们没有工作......
How to disable refresh button for preventing data duplication ? i have used alot of codes but they are not working......
推荐答案
请参阅 -
http://www.aspsnippets.com/Articles/ASP.Net --- Prevent-DuplicateDouble-Inserts-when-Page-is-refreshed.aspx [ ^ ]
--------
http://www.aspdotnet-suresh.com/2010/04/detect-browser-refresh-to-avoid-events.html [ ^ ]
Refer this-
http://www.aspsnippets.com/Articles/ASP.Net---Prevent-DuplicateDouble-Inserts-when-Page-is-refreshed.aspx[^]
--------
http://www.aspdotnet-suresh.com/2010/04/detect-browser-refresh-to-avoid-events.html[^]
基本上,你无法禁用浏览器的刷新按钮,而不是您处理用户/浏览器的多个提交。请参阅以下链接,了解更多相关信息以及如何处理回发信息。
如何避免在浏览器刷新时重复插入数据? [ ^ ]
如何停止多个提交asp.net表格? [ ^ ]
希望它有所帮助。
Hi,
basically, you cannot disable the browser''s refresh button, rather you handle the multiple submissions by the user/browser. refer the below links for more on this and how to handle post backs.
How to avoid Duplicate insertion of data on Browser Refresh?[^]
how to stop multiple submits in asp.net form?[^]
hope it helps.
这篇关于如何禁用刷新按钮以防止数据重复?我使用了很多代码,但它们没有工作......的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文