MonthYearPicker BUG - MinDate & MaxDate

2 posts, 0 answers
  1. Farid Hayati
    Farid Hayati avatar
    17 posts
    Member since:
    Mar 2011

    Posted 05 Aug 2011 Link to this post

    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. 
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 10 Aug 2011 Link to this post

    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.
Back to Top