Buttun点击事件未第二次触发 [英] Buttun click event not fired second time

查看:145
本文介绍了Buttun点击事件未第二次触发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了一个asp.net Web应用程序.
在页面中,我有一个按钮,一个文本框和gridview.第一次它可以正常工作.
当我第二次单击按钮时,文本框值变为空白,它会直接触发gridview rowcreated事件.
请给我解决方法.
非常紧急的

I have created a asp.net web application.
In a page i have one button,one textbox and gridview.In first time it is working properly.
When i click button second time the textbox value become blank it direct fired gridview rowcreated event.
Kindly give me the solution.
very urgent

推荐答案

第一次单击可以清理文本框.该文本框可以具有默认值.还有很多其他原因.
The first click could clean up the text-box. The text-box could have a default value. And many other reasons too.


这篇关于Buttun点击事件未第二次触发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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