如何在aspx页面中放置条件验证 [英] How to put conditional validation in aspx page

查看:73
本文介绍了如何在aspx页面中放置条件验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我有一个包含大约30个控件的aspx页面。

我想在条件上应用一些验证。

假设对于Eng用户,Address1将不会强制要求法国用户使用。

对于印度邮政编码是强制性的。





非常感谢提前。

Hi,

I have an aspx page with around 30 controls.
I want to apply some validation on condition.
Let say , for Eng user Address1 will mandatory not for French user.
For India postcode will be mandatory .


Many many thanks in advance.

推荐答案





请查看此链接,它会对您有所帮助。



http://www.w3schools.com/aspnet/aspnet_refvalidationcontrols.asp [ ^ ]



探索ASP.NET验证控件 [ ^ ]



希望有所帮助。
Hi,

please check this links, it will help you.

http://www.w3schools.com/aspnet/aspnet_refvalidationcontrols.asp[^]

Exploring ASP.NET Validation Controls[^]

Hope it helps.


这篇关于如何在aspx页面中放置条件验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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