如何仅使用 Ajax Toolkit 的日历扩展器控件的一部分
我目前对 AJAX Calendar Extender 有两个要求,一是简单,一是复杂。
我想解决简单的场景,如果复杂的场景无法切实解决,那么我的解决方法是可以接受的。
简单的场景:
我真的只想显示日历控件的年/月选择器
- 当用户第一次单击关联的文本框时,我想显示年份网格。
- 当用户单击一年时,我想显示月份网格。
- 当用户单击月份时,我想用所选月份的开始日期和结束日期填充两个文本框。
我真的很喜欢 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
- When the user first clicks the associated textbox, I want to show the grid of years.
- When the user then clicks a year, I want to show the grid of months.
- 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论