如何在使用asp.net页面生命周期刷新(或双击按钮)的同时停止多次提交相同的数据 [英] How to stop multiple submission of same data, while refreshing (or double clicking the button) using asp.net page life cycle

查看:49
本文介绍了如何在使用asp.net页面生命周期刷新(或双击按钮)的同时停止多次提交相同的数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨朋友,



如何在使用asp.net页面生命周期刷新(或双击按钮)的同时停止多次提交相同数据,



今天我面临面试,这就是我的采访中提出的问题。

和沉默一分钟后,他只给出了线索比如,使用saveviewstate我们可以做到这一点。



请让我知道代码我们要做什么,停止提交相同的数据,同时刷新数据。

Hi Friends,

How to stop multiple submission of same data, while refreshing (or double clicking the button) using asp.net page life cycle,

today i have faced an interview, and this is what the question asked by my interview.
and after a minute silence,he only given clue like, using using saveviewstate we can achieve this.

Pls let me know the code what we have to do, to stop the same data submitted, while refreshing the data.

推荐答案

参见如何避免使用jQuery双击?文章也许它可以帮助你...
See How to Avoid Double Clicking With jQuery ? article maybe it's help you...


这篇关于如何在使用asp.net页面生命周期刷新(或双击按钮)的同时停止多次提交相同的数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆