Telerik RadDatePicker Minimum Date Issue

2 posts, 0 answers
  1. Julie Jaegers
    Julie Jaegers avatar
    12 posts
    Member since:
    Oct 2009

    Posted 17 Nov 2009 Link to this post

    I'm using a Telerik RadDatePicker and it gives me the attached (GUI Warning message) if I put in a date 30 years ago or more. If I put in November 1980 everything saves fine without any warning. If I put in November 1979 or later it gives me this warning message and doesn't save. I have attached my code. I've tried setting the MinDate property to 1900-01-01 and it made no difference. Any ideas? Am I missing a key property on my control? The reason I'm using the RadDatePicker is I need the month year format.


    <table cellpadding="0" cellspacing="0" border="0">  
        <tr> 
            <td style="padding-right:10px;">  
               Date of diagnosis for this condition?  
            </td> 
            <td> 
               <telerik:RadDatePicker ID="txtDiagnosisDate" runat="server" SelectedDate='<%# Bind("DiagnosisDate") %>'>  
                 <DateInput ID="DateInput1" DateFormat="MMMM yyyy" runat="server">  
                 </DateInput> 
                 <Calendar ID="Calendar1" runat="server">  
                   <FastNavigationSettings TodayButtonCaption="current date" /> 
                 </Calendar> 
               </telerik:RadDatePicker> 
            </td>                                         
        </tr> 
    </table> 
  2. Martin
    Admin
    Martin avatar
    833 posts

    Posted 18 Nov 2009 Link to this post

    Hello Julie,

    Please review the following help article and online demo for more information about how to bind the RadDatePicker control:

    Data Binding
    Demo example

    I hope this helps,
    Martin
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top