javascript error for date when click edit

2 posts, 0 answers
  1. JJ
    JJ avatar
    147 posts
    Member since:
    May 2010

    Posted 06 Mar 2012 Link to this post

    When I click the edit button, I will get javascript error for "value of 1/1/0001 12:00:00AM is not valid for selecteddate. should between mInDate and MasDate, parameter name "SelectedDate".
    My date field "ProcessedDate" is a read only field, not sure why I got this error and how to solve it?

    <telerik:GridBoundColumn DataField="ProcessedDate" FilterControlAltText="Filter ProcessDate column"
                                                   HeaderText="ProcessDate0" UniqueName="ProcessDate"  
                                                  DataFormatString="{0:d}"  ReadOnly="True">
                                               </telerik:GridBoundColumn>
    Thanks
  2. Tsvetina
    Admin
    Tsvetina avatar
    1876 posts

    Posted 09 Mar 2012 Link to this post

    Hi,

    Can you confirm that you do not have datepicker controls anywhere else on your page? Even in edit mode the GridBoundColumn does not render RadDatePicker controls, so the error should be coming from somewhere else.

    All the best,
    Tsvetina
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top