首先单击按钮会导致页面刷新,第二次单击会显示结果。 [英] First Clicking a button results in page refreshing,on second click showing the results.

查看:90
本文介绍了首先单击按钮会导致页面刷新,第二次单击会显示结果。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个搜索按钮,用于根据id在文本框中写入来查看会议,但如果文本框中有任何错误的条目,我们将获得验证。如果有效的会议ID或有效日期将显示数据网格。但这会在每次点击按钮时发生。首先点击页面进行刷新。请告诉我解决方案......我需要首先点击自己的结果。 />


提前谢谢

I have a Search button ,for seaching the meetings based on id''s writeen on textboxes,but if any wrong entries in textboxes we will get validations.if a valid meeting id or valid date will shows the datagrid .but this happening on every second click of a button.for first click the page getting refreshed.please tell me the solution ...i need the results in first click itself.

Thanks in advance

推荐答案

嗯...复制并粘贴你的代码???
Uhmm..copy and Paste your code???


这篇关于首先单击按钮会导致页面刷新,第二次单击会显示结果。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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