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

2 posts, 0 answers
  1. culminIT Pty. (Ltd)
    culminIT Pty. (Ltd) avatar
    10 posts
    Member since:
    Feb 2010

    Posted 09 Mar 2010 Link to this post


    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
  2. Veli
    Veli avatar
    2002 posts

    Posted 11 Mar 2010 Link to this post

    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?

    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.
Back to Top