如何在Silverlight中执行前端验证? [英] How to perform front end validations in silverlight?

查看:80
本文介绍了如何在Silverlight中执行前端验证?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在做一个Silverlight项目,我需要在这里执行一些客户端验证.如果用户在微粒字段中输入了无效值,则应立即提示用户该错误.而且我还需要允许用户仅以特定格式输入值.我们是否有诸如带遮罩的文本框或Silverlight中的正则表达式之类的东西?请在这方面帮助我.预先感谢.

Hello everyone,

I am working on a silverlight project, I need to perform some client side validations here. If a user enters an invalid value in a particula field, then immediately it should prompt the user about the error. And also i need to allow user to enter values only in a particular format. Do we have anything like masked text boxes, or regular expressions in Silverlight. Please help me in this regard. Thanks in advance.

推荐答案

^ ]....请参阅
Silverlight 4 : Data Validation - Tip of the Day - Part 1[^] ....Refer this


这篇关于如何在Silverlight中执行前端验证?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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