ASP阿贾克斯日历Extender和显示时间 [英] ASP Ajax Calendar Extender and displaying time

查看:119
本文介绍了ASP阿贾克斯日历Extender和显示时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Ajax控件工具包日历扩展控制。在某些领域,虽然我想与日期显示的时间。我曾尝试过格式设置为DD / MM / YYYY HH:MM:SS但是时间段被擦掉。如果用户想要改变时间段,他们可以做手工,日历下拉仅用于改变日期的一部分。

I am using the Ajax Control Toolkit Calendar Extender control. In some fields though I want to display the time along with the date. I have tried just setting the Format to "dd/MM/yyyy hh:mm:ss" but the time section gets wiped off. If the user wants to change the time section they can do it manually, the calendar drop down is only used for changing the date part.

是否有任何解决方法或替代方案得到这个工作?

Are there any workarounds or alternatives to get this working?

推荐答案

我有一个类似的问题,我打算使用日期字段和相关时间下拉列表(以半小时为单位)。用户设置日期在日期字段中,选择使用日历控件,并拉低了有效时间。我计划有一个选择的时候下拉是不关心的情况下,它的全日活动。

I have a similar issue and I'm planning to use a Date field and an associated time dropdown (in 1/2 hour increments). User sets the date in the date field, optionally using the calendar control, and pulls down to a valid time. I plan to have one selection in the time drop down be a "don't care" in case it an "all day" event.

我发现这个jQuery 插件,我可能最终使用。我还发现了一个链接,盖亚的DateTimePicker 在回答的这个帖子(现在看来要被删除,可能是因为OP问的WPF控件,而不是Web控件)。

I found this jquery plugin that I may end up using. I also found a link to Gaia DateTimePicker in the answers to this post (which now looks to be deleted, probably because the OP was asking for WPF controls, not web controls).

这篇关于ASP阿贾克斯日历Extender和显示时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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