asp按钮不应验证文本框 [英] asp button should not validate text box

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

问题描述

先生,
我有一个带有文本框和一个取消按钮组合的asp.net表单.该取消按钮包含回发到其他页面的URL.当我单击该取消按钮光标验证某些文本框时,为什么?

hi sir,
I have one asp.net form with combinations of text boxes and one cancel button. That cancel button contains postback url to some other page. When iam clicking that cancel button cursor validating some text boxes why?

推荐答案

make
CausesValidation=false

.默认按钮的

CausesValidation=true

.它停止验证文本框


如果您有解决方案,请回答

谢谢

for button. It stops validating the textboxes


make it answer if you got your solution

Thanks


这篇关于asp按钮不应验证文本框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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