onclientclick按钮未使用验证组触发 [英] onclientclick of button not firing with validation group

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

问题描述

onclientclick没有触发按钮,在asp.net中附加了验证组。如何解决?

malathi.p

onclientclick of button not firing with validation group attached in asp.net. How to solve it?
malathi.p

推荐答案

请检查你的javascript可能是错误。
Please, check your javascript may be error.


在你的javascript函数中包含以下代码。

Include the below code in your javascript function.
Page_ClientValidate("Your validation group name");


你确定IsPostBack属性是按钮的真。
are u sure to IsPostBack property is True of button.


这篇关于onclientclick按钮未使用验证组触发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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