我们可以在TextBox之外的任何其他控件中使用验证控件吗? [英] Can we use the validation control in any other control other than TextBox ?

查看:53
本文介绍了我们可以在TextBox之外的任何其他控件中使用验证控件吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们可以在TextBox之外的任何其他控件中使用验证控件吗?

请帮助....

Can we use the validation control in any other control other than TextBox?

Please help....

推荐答案

是的,您可以在TextBox之外的任何其他控件中使用验证控件.
Yes, you can use the validation control in any other control other than TextBox.
ControlToValidate="your Control ID"


验证ASP.NET服务器控件


您可以使用所有输入类型控件上的验证控件.

ASP.NET验证控件用于验证用户输入(来自所有直接的HTML输入控件,HTML服务器输入控件或Web服务器输入控件).

ASP.NET中的Validator控件 [
You can use the validation control on all the input type control.

ASP.NET Validation Controls are used for validating user input (from all the straight HTML input control, HTML server input controls, or Web server input controls) .

Validator Controls in ASP.NET[^]


这篇关于我们可以在TextBox之外的任何其他控件中使用验证控件吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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