如何在asp.net中检查文本框的日期 [英] how to check date of a text box in asp.net

查看:82
本文介绍了如何在asp.net中检查文本框的日期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好先生
我有一个文本框,并且使用了日历扩展器和MaskedEditExtender,但是我想通过ajax控件或java脚本输入完美的日期.如果我要通过Java脚本编写代码,那么我将如何在文本框中使用它.

请帮帮我.

谢谢.

Hello Sir
I have a text box and I have used calender extender and MaskedEditExtender but I want to enter the perfect date through ajax control or java script. If I will write through java script then how I will use in the text box .

Please Help me.

Thanks.

推荐答案

引用这两个线程
http://stackoverflow.com/questions/5463258/using-a-calendarextender-with- a-maskededitextender [ ^ ]
> http://stackoverflow.com/questions/127246/how-to-客户端上的bind-extenders-to-controls- [ ^ ]
Refer this two threads
http://stackoverflow.com/questions/5463258/using-a-calendarextender-with-a-maskededitextender[^]
http://stackoverflow.com/questions/127246/how-to-bind-extenders-to-controls-on-clientside[^]


我建​​议使用 [ ^ ]控件. br/> 试图相互协调使用您使用的控件听起来很麻烦. jQuery datepicker可以使您的生活更轻松.
I would suggest using the JQuery Datepicker[^] control for this.
Trying to use the controls you are using in coordination with each other sounds like a huge hassle. The jquery datepicker can make your life much easier on this.


这篇关于如何在asp.net中检查文本框的日期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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