文本框或DateControl验证 [英] Textbox or DateControl Validation

查看:67
本文介绍了文本框或DateControl验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在Silverlight DateControl上进行验证,

选择无效日期后,控件需要具有红色边框
日期或文本框控件的角落带有上标统计信息


在我的情况下,无效日期是该日期不应小于当前日期..

请在这个
帮助我

在此先感谢

Hi ,

I am Doing Validation on Silverlight DateControl ,

On selecting invalid date the control need to have red colour border
with superscript stat on the corner of date or textbox control


The invalid date in my case is the date should not be lesser than the current date ..

please help me in this


Thanks in advance

推荐答案

可以使用Silverlight 3.0中的内置验证(如果您使用的是3.0)来完成文本框验证.

以下链接应帮助您验证文本框和日期.它可能不完全是您想要的,但是在理解它之后,您可以对其进行修改或即兴使用.

http://silverlighttips.com/?tag=/validation [
The textbox validation can be done using the built-in validation in Silverlight 3.0 (if you are using 3.0)

The following link should help you to validate both the textbox and date. It may not be exactly what you want but after understanding it you can modify it or may be improvise it for your use.

http://silverlighttips.com/?tag=/validation[^]

Let me know if this helps you

--
AJ


这篇关于文本框或DateControl验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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