何时使用自定义验证和远程验证 [英] when to use Custom Validation and Remote Validation

查看:66
本文介绍了何时使用自定义验证和远程验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

何时使用自定义验证和远程验证我很困惑



i有联系类型列表每种不同类型的联系人有不同的联系号码

但我想验证只说让第二种类型(ContypeId = 2)

i wan检查联系号码是否为空

when to use Custom Validation and Remote Validation i am confuse

i have list of contact type each different type of Contact have different contact number
but i want to validate only let say 2nd type (ContypeId = 2)
i wan to check contact number is not empty

推荐答案

这篇关于何时使用自定义验证和远程验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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