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

javascript error for date when click edit

1 Answer 49 Views
Grid
This is a migrated thread and some comments may be shown as answers.
JJ
Top achievements
Rank 1
JJ asked on 06 Mar 2012, 07:09 PM
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

1 Answer, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 09 Mar 2012, 01:29 PM
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.
Tags
Grid
Asked by
JJ
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Share this question
or