This RadDatePicker calendar control works in standard ASP INSERT record form.
<td style="width:90px;">
<TRad:RadDatePicker ID="dpDATE_INSTALLATION_INSERT" runat="server"
SelectedDate='<%# Bind("DATE_INSTALLATION","{0:d}") %>' AutoPostBack="False">
<Calendar ID="Calendar2" runat="server" Skin="Outlook" ShowRowHeaders="false"
BorderStyle="Solid" BorderWidth="1px" BorderColor="Black"
TitleStyle-Backcolor="PaleGoldenrod"></Calendar>
<DateInput ID="DateInput2" runat="server"
DateFormat="dd-MMM-yyyy" DisplayDateFormat="dd-MMM-yyyy" ></DateInput>
</TRad:RadDatePicker>
</td>
In the insert parameter I use the DateTime datatype.
When moved to AJAX Rad Grid form it fails when attempting to insert new record inthe Grid Form with error
"Conversion from string "" to type 'Date' is not valid."
I did not have to handle NULL or zero-length strings before.
<td style="width:90px;">
<TRad:RadDatePicker ID="dpDATE_INSTALLATION_INSERT" runat="server"
SelectedDate='<%# Bind("DATE_INSTALLATION","{0:d}") %>' AutoPostBack="False">
<Calendar ID="Calendar2" runat="server" Skin="Outlook" ShowRowHeaders="false"
BorderStyle="Solid" BorderWidth="1px" BorderColor="Black"
TitleStyle-Backcolor="PaleGoldenrod"></Calendar>
<DateInput ID="DateInput2" runat="server"
DateFormat="dd-MMM-yyyy" DisplayDateFormat="dd-MMM-yyyy" ></DateInput>
</TRad:RadDatePicker>
</td>
In the insert parameter I use the DateTime datatype.
When moved to AJAX Rad Grid form it fails when attempting to insert new record inthe Grid Form with error
"Conversion from string "" to type 'Date' is not valid."
I did not have to handle NULL or zero-length strings before.