使用必需的字段验证器或正则表达式验证器进行textarea验证 [英] textarea validations using required field validator or regular expression validator

查看:312
本文介绍了使用必需的字段验证器或正则表达式验证器进行textarea验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



如何对textarea使用验证控件

Hi,

How to use validation controls for textarea

推荐答案

hi
检查一下

对于TextArea,您可以使用正则表达式验证控件来管理正则表达式的属性窗口中的最大长度,您可以将此表达式(^ \ w {1,20}
hi
check it out

For a TextArea You Use Regular Expression Validation Control to Manage the Maxlength In the Property Window of the Regular Expression You Put this Expression (^\w{1,20}


)放入以验证TextArea不能超过20个字符.在属性ValidationExpression中使用此表达式.
) to Validate the TextArea cannot have morethan 20 characters. Use this Expression in the Property ValidationExpression.


您应阅读以下内容:
http://msdn.microsoft.com/en-us/library/aa479045.aspx [ ^ ]
You should read this:
http://msdn.microsoft.com/en-us/library/aa479045.aspx[^]


这篇关于使用必需的字段验证器或正则表达式验证器进行textarea验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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