I have a simple grid bound to an object data source.
I have configured the grid to use a form template for inline editing.
When I click the grid's "Add new record" button I get an exception....
Specified cast is not valid
I have traced this to the use of RadDatePickers in the form. If I use ordinary text fields for the dates then the problem doesn't occur.
This is the snippet of code that is in the <FormTemplate>
I have configured the grid to use a form template for inline editing.
When I click the grid's "Add new record" button I get an exception....
Specified cast is not valid
I have traced this to the use of RadDatePickers in the form. If I use ordinary text fields for the dates then the problem doesn't occur.
This is the snippet of code that is in the <FormTemplate>
<
telerik:RadDatePicker ID="RadDue" runat="server" SelectedDate='<%# Bind("DueDate") %>' EnableTyping="false">
</telerik:RadDatePicker>