日期时间选择器不起作用 [英] Datetime picker is not working

查看:90
本文介绍了日期时间选择器不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

我想在我的网站中实现日期时间选择器.

它运行成功,但是没有显示我在网站上选择的日期.
代码如下:

Hello

I want to implement date time picker in my web site.

It runs sucessfully but it doesnt show date which I select in my website.
The code is as given below:

<ASP:TextBox  runat="server" ID="txtDate">;
<asp:Calendar ID="Textbox" runat="server"

 ShowTimeSelector="true"

DateFormat="MM/dd/yyyy hh:mm:ss"

DatePickerMode="true"

 TextBox="txtDate">
<asp:Calendar>    


请引导我.


Please guide me.

推荐答案

看看以下这些内容以取得进展:
使用日历控件创建ASP.Net DatePicker [ ^ ]
创建弹出日期选择器 [ DateTimePicker Web控件 [
Have a look at these to move ahead:
Creating ASP.Net DatePicker using Calendar Control[^]
Creating a Popup Date Picker[^]

Though an old one, have a look at this article too: DateTimePicker Web Control[^]


If you still face issue, post your code of how you are trying to access/check the value selected in the calendar. Probably on some page submit event you must be trying to access it. Just DEBUG and see if it''s getting reset anywhere before reaching to the event.


这篇关于日期时间选择器不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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