按钮单击不触发 [英] Button Click Does not fire

查看:99
本文介绍了按钮单击不触发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个网格视图,其中包含员工的一些详细信息和一个名为edit的项目模板按钮。

按下编辑按钮后,会打开一个弹出窗口,其中包含要编辑的员工的所有详细信息。 br />
现在有一个文本框,网格视图正上方还有一个按钮,用于搜索网格视图中的任何内容。但是当页面第一次加载时,搜索按钮根本不会触发但如果我点击网格视图中的编辑按钮,搜索按钮就会触发。我无法理解为什么会发生这种情况。

我无法粘贴代码,因为它太长了。

I have grid view containing some details of employees and a item template button called edit.
When edit button is pressed then a popup is open which contains all the details of a employee for editing.
Now there is a text box and a button is also present just above the grid view to search any content in the grid view.But when the page loads for the first time the search button does not fire at all but the search button fire if if i click the edit button in the grid view.i can not under stand why this happen.
I can not paste the code because it is too long.

推荐答案

这个帖子可能会有所帮助 - 网格带图像按钮onclick不会触发? [ ^ ]。
This thread may help - Grid with Image button onclick doesnot fire?[^].


这篇关于按钮单击不触发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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