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

MonthYearPicker BUG - MinDate & MaxDate

1 Answer 136 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Farid Hayati
Top achievements
Rank 1
Farid Hayati asked on 05 Aug 2011, 03:18 PM
Hello, 


We using the new control MonthYearPicker but it there is a small issue when we set the mindate and maxdate.  For example if mindate is 01-Apr-2010 and maxdate is  01-Sep-2010. 

Setting that up we see that years marked as gray which are disabled. But on the left side the months (jan,feb,mar etc.) are not disabled and are not gray.

Thanks a lot. 

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 10 Aug 2011, 11:47 AM
Hello Farid,

Try setting DisableOutOfRangeMonths as true in order to disable other months.
aspx:
<telerik:RadMonthYearPicker ID="month" runat="server"  MinDate="01-Apr-2010" MaxDate="01-Sep-2010">
    <MonthYearNavigationSettings DisableOutOfRangeMonths="true" />
</telerik:RadMonthYearPicker>

Thanks,
Princy.
Tags
Calendar
Asked by
Farid Hayati
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or