[不是问题]比较验证器未在客户端开火 [英] [Not a question] compare validator is not firing at Client side

查看:56
本文介绍了[不是问题]比较验证器未在客户端开火的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我的代码

here is my code

<asp:CompareValidator ID="CompVRejQ" runat="server" ControlToCompare="txtRecQty" ControlToValidate="txtRej_Qty" ErrorMessage="Rejected Qty cannot be more than the recieved Qty!" ForeColor="Red" Operator="LessThanEqual" Type="Integer" ValidationGroup="btn_OK">

推荐答案

HI,

朋友......



plz在代码中添加此属性..



EnableClientScript =true



通过默认 CompareValidator EnableClientScript true



直到我t无效然后强行分配 EnableClientScript =true ....



希望它有效。 ..

最好的运气......

Friend ...

plz add this property in the code..

EnableClientScript="true"

By Default CompareValidator EnableClientScript is true.

till it is not working then forcefully assign EnableClientScript="true"....

Hopefully it works...
Best of Luck...


这篇关于[不是问题]比较验证器未在客户端开火的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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