如何仅使用 Ajax Toolkit 的日历扩展器控件的一部分

发布于 2024-09-19 04:48:01 字数 782 浏览 0 评论 0原文

我目前对 AJAX Calendar Extender 有两个要求,一是简单,一是复杂。
我想解决简单的场景,如果复杂的场景无法切实解决,那么我的解决方法是可以接受的。

简单的场景:
我真的只想显示日历控件的年/月选择器

  1. 当用户第一次单击关联的文本框时,我想显示年份网格。
  2. 当用户单击一年时,我想显示月份网格。
  3. 当用户单击月份时,我想用所选月份的开始日期和结束日期填充两个文本框。

我真的很喜欢 AJAX 日历扩展器的外观,但我不希望它们能够选择日期或显示控件的日期选择部分。
有什么办法可以实现这种场景吗?

*注意我发现了另一个问题 就像这样,这不是我想要的措辞,而且对我来说,背负这个问题不会被认为是适当的礼仪,所以在 元社区的建议,我决定重新措辞

复杂场景
如果上述问题得到解决,我想要一个不同的控件来允许用户选择一年和季度,并使用选定季度的开始和结束日期填充开始和结束日期。

I currently have two requirements of the AJAX Calendar Extender, one simple and one complex.
I would like to solve the simple scenario, and if the complex scenario can't be feasibly solved, then the workaround that I have is acceptable.

Simple Scenario:
I really only want to show the Year/Month Selector of the calendar control

  1. When the user first clicks the associated textbox, I want to show the grid of years.
  2. When the user then clicks a year, I want to show the grid of months.
  3. When the user clicks the month, I want to fill two text boxes with the start and end dates of the selected month.

I really like the look of the AJAX calendar extender, but I don't want them to be able to select the day or for the day selection portion of the control to be displayed.
Is there any way to enable this scenario?

*Note:I have found another question like this which was not worded the way I want, and it would not have been considered proper etiquette for me to piggy-back onto that question, so on the advice of the meta community, I have decided to re-phrase this

Complicated Scenario:
If the above is solved, I would like a different control to allow the user to select a year and a Quarter, and have the start and end dates be populated with the Selected Quarter start and End dates.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文