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

MinDate ignored

1 Answer 94 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
jfkrueger
Top achievements
Rank 1
jfkrueger asked on 28 Jan 2009, 08:42 PM
I have two datepickers on a page that are using a shared calendar. The min date on both datepickers is "1/1/1900", however it is being ignored and the default of 1/1/1980 is being used. The datepickers and calendar are all in the same ajaxpanel. How do i get the control to honor the mindate property?

Thanks!

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 29 Jan 2009, 03:12 PM
Hello Joe,

Try setting the RangeMinDate property of the Calendar to 1/1/1900, to prevent the calendar from taking the default value of 1/1/1980 as shown below:
aspx:
 <telerik:RadCalendar ID="RadCalendar1" runat="server" RangeMinDate="1/1/1900" Font-Names="Arial, Verdana, Tahoma" 
            ForeColor="Black" Style="border-color: #ececec">            
 </telerik:RadCalendar> 
     
 <telerik:RadDatePicker ID="RadDatePicker1" MinDate="1/1/1900"   SharedCalendarID="RadCalendar1" runat="server">        
 </telerik:RadDatePicker> 
     
 <telerik:RadDatePicker ID="RadDatePicker2" MinDate="1/1/1900" SharedCalendarID="RadCalendar1" runat="server"
 </telerik:RadDatePicker> 

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