我需要一个日历弹出窗口仅显示将来的日期 [英] I need a calendar Pop up showing only the future dates

查看:84
本文介绍了我需要一个日历弹出窗口仅显示将来的日期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我需要一个PopUp日历应用程序,该日历仅显示将来的日期(应该取消选择过去的日期),用户没有选择过去的日期的权限.他只需要选择当前和将来的日期.应该禁用以前的月份.


我得到了日历的代码.但是它有过去的日期选择.我想禁用它.


Praneeth

Hi

I need an application of PopUp calendar showing only future dates(past dates should be deselectd) user has no scope to select the past dates.he has to select only the current and future dates.Previous months should be disabled.


I got the code for calender.But it has past date selection.i want to disable it.


Praneeth

推荐答案

0.修改日历控件,使其具有可选的最小和最大日期属性.
1.在用户界面中,灰色(如果已设置)在最小最大日期之前或之后显示的任何日期均灰显. 2.如果您实际上不能禁用该字段,请忽略超出范围日期的点击.

这是相对容易实现的.不幸的是,您尚未为calander控件提供任何源代码,因此无法提供任何代码示例.
0. Amend the calender control to have optional minimum and maximum date properties.
1. In the UI grey out any date displayed before or after the minimum maximum date if set.
2. If you cannot actually disable the field, then ignore the clicks for the out of range dates.

This is relatively easy to impliment. Unfortunately you have not provided any source code for your calander control so it is not possible to give any code examples.


这篇关于我需要一个日历弹出窗口仅显示将来的日期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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