按钮单击不触发

编程入门 行业动态 更新时间:2024-10-27 00:23:10
本文介绍了按钮单击不触发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我有一个网格视图,其中包含员工的一些详细信息和一个名为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?[^].

更多推荐

按钮单击不触发

本文发布于:2023-11-12 04:59:59,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1580575.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:单击   按钮

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!