Being relatively new to these controls and design in general, I;ve come up against an unexpected error meesage.
I have a radgrid which pulls out data from a sql table, one field of which is a datetime in the database. On entry to the table the date field is left as null for later updating.
I have set up an edit template which includes a datetime picker. This countrol is bound to the field and when going into edit mode I'm getting the following message:
Conversion from type 'Date' to type 'Integer' is not valid.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidCastException: Conversion from type 'Date' to type 'Integer' is not valid.
Is there a reason why the datetime picker control would store the values as an integer rather than a datetime string ?
How can I get around this ?
any help would be greatly appreciated
ChrisS