Provide validations while using UIPicker as UIDatePicker - validation

Hi,
I am using a UIPickerView to accept payment card expiry date. As the date does not have date field, I could not use UIDatePicker. Now, I have got a nice picker which accepts months and year, which I stored in an array. So in the picker month section, It starts from Jan, Feb....Dec. But I don't like that. For example, the user should be able only to select Oct, Nov & Dec for the year 2011. The months Jan...Sep should be disabled. They should again get enabled for year 2012. How to do that ??
Thanks

Related

How can I apply Data validation and conditional formatting on the drop down list?

I want to add data validation for a list of dates (Jan 1st 2023 to December 31st 2023) to a column. When the user click on the drop down. I want them to see the Current day date highlighted. How can i do this?
I have added the necessary data validation rule to the column. Clicking on the date column, I want it to do something like what I have in the picture below.
That blue color is not an highlight. It's my cursor

Amcharts hides last date on stock type

I use Amcharts to display stock data. Although I have updated the last data for chart (27 Dec 2018), the chart only displays data to 24 Dec 2018. I don't know how to configure it. Please help me.
Best regards.
Here is the image of my chart

Change date when month is changed using month navigator in kendo UI date picker

I am using kendo ui date picker,
I have a requirement that suppose currently 26 june 2014 is selected, when change the month using month naivgator to july, it should automatically select the 26 date in july month
I don't think it is a good to do it (based on user experience point of view).
Example: I already choose 26 June 2014, then I change the month by pressing the arrow to next month.
I may just want to do it because I want to browse or check what is next month, without having intention to select the date from next month.
And what I see currently from kendo calendar, kendo already automatically mark the selected date (26) with the box, which is good from user experience perspective
So the answer is : it is not recommended to do it, unless you have strong reason to do it.
However, you still can probably do it by using navigate event handler
function onNavigate() {
/*do something*/
}
$("#calendar").kendoCalendar({
navigate: onNavigate
});

Telerik rad datepicker in decade mode

I am using the telerik raddatepicker as a Birthday picker. I need to upgrade this to support Decade mode. Is this possible with Telerik Datepicker? User first selects the decade with Fastnavigation, then pick the month, then pick the date.
<telerik:RadDatePicker ID="rdpDateOfBirth" runat="server"
DateInput-DateFormat="dd/MM/yyyy"
DateInput-DisplayDateFormat="dd/MM/yyyy"
ShowPopupOnFocus="True" DatePopupButton- ImageUrl="~/styles/images/calendar.png" Width="100"
FocusedDate="1/01/1970" Calendar-UseColumnHeadersAsSelectors="False"
Calendar-UseRowHeadersAsSelectors="False" DatePopupButton-HoverImageUrl="~/styles/images/calendar.png"
Calendar-FocusedDate="1/01/1970 12:00:00 AM" Calendar-RangeMinDate="1/01/1900 12:00:00 AM"
Calendar-RangeSelectionStartDate="1/01/1900 12:00:00 AM" DateInput-MinDate="1/01/1900 12:00:00 AM"
MinDate="1/01/1900 12:00:00 AM" DateInput-ClientEvents-OnError="validateDateOnEror" Calendar-FastNavigationStep="12" Calendar-FirstDayOfWeek="Default">
</telerik:RadDatePicker>
Please help!
It only drills up to a year selector. It's not built for supporting decades, but clicking on the header allows for it to easily select a month/year combination.
The AJAX control toolkit calendar extender does something similarly, but you have to drill up. The header requires being clicked on though, which allows the calendar to drill up to a decade view (decade displaying in the header).

How to prevent user from changing date control which is linked to a textbox in VB6

txtmonth = '01/2011' (This is a textbox control)
I have a Date Control which should automatically display January 2011. The end user should not able to select month & year from the date control, only the day.
User should select only the date from that month. How to do this?
You can limit the data range they can select by setting the MinDate and MaxDate properties.
This applies to both the DTPicker and the MonthCal controls.

Resources