This is a migrated thread and some comments may be shown as answers.

disable months on radmonthyearpicker

1 Answer 64 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Eli
Top achievements
Rank 1
Eli asked on 16 Aug 2013, 04:24 AM
Hi..i have a question about radmonthyearpicker control..if i set MinDate='2010-07-15' and MaxDate='2013-09-20'..it's ok..but all months are enabled always not the same than years..it's possible disable the other month by depending selected year?..for example if i click 2010 year only enabled valid months

1 Answer, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 1
answered on 16 Aug 2013, 11:52 AM
Hi Eli,

Please set the MonthYearNavigationSettings-DisableOutOfRangeMonths property of RadMonthYearPicker as true.

ASPX:
<telerik:RadMonthYearPicker ID="RadMonthYearPicker1" runat="server" MinDate="2010-07-15"
    MonthYearNavigationSettings-DisableOutOfRangeMonths="true" MaxDate="2013-09-20">
</telerik:RadMonthYearPicker>

Thanks,
Shinu.
Tags
Calendar
Asked by
Eli
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 1
Share this question
or