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

RadDatePicker 'Input string was not in a correct format.'

1 Answer 124 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
CulminIT
Top achievements
Rank 2
CulminIT asked on 09 Mar 2010, 09:56 AM
Hi

I'm populating my radgrid using ADO.NET. I send the parameters to a method. The method then returns a dataset, which is placed into a local dataset.

The method's input parameter type for the radDatePicker is DateTime. I have tried everything I can think of to make the error disappear.

I have tried placing the control's SelectedValue and dbSelectedValue into a Convert.ToDateTime, I have tried parsing the value to a string and then have the method input parameter type also as a string, but the error keeps showing up.

Please advice.

Thank you

1 Answer, 1 is accepted

Sort by
0
Veli
Telerik team
answered on 11 Mar 2010, 03:13 PM
Hello culminIT,

Can you show us some sample code on how do you retrieve your data and set the value of the picker? Are your data values returned properly in DateTime objects from your persistent data layer?

Regards,
Veli
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Calendar
Asked by
CulminIT
Top achievements
Rank 2
Answers by
Veli
Telerik team
Share this question
or