I have a new record (an HTML ASP.NET form) and and edit records (an ASP.NET FormView).
I use the date picker in both. Whe nI create a new record, the data is saved fine.
When I open the FormView to edit, the proper date is bound and pre-loaded into the RAD date picker.
When I change the data in the edit form and submit, the date does not change. All other fields in the form view update correctly, so I do not think the events are not firing.
Here is the HTML"
<asp:FormView ID="FormView1" runat="server" Caption="Company Details"
CssClass="dataTable" DataKeyNames="Id" DataSourceID="LinqDataSource1"
DefaultMode="Edit" onitemcommand="FormView1_ItemCommand"
onitemupdated="FormView1_ItemUpdated">
<RowStyle CssClass="rowa" />
<EditItemTemplate>
<table cellpadding="0" cellspacing="0" class="style1">
// CLIPPED FOR READABILITY
<tr>
<td>
URL:
</td>
<td>
<asp:TextBox ID="URLTextBox" runat="server" CssClass="textBox"
Text='<%# Bind("URL") %>' Width="200px" />
</td>
</tr>
<tr>
<td>
</td>
<td>
<asp:CheckBox ID="IsActiveCheckBox" runat="server"
Checked='<%# Bind("IsActive") %>' Text="Is Active?" />
<asp:CheckBox ID="IsQIBCheckBox" runat="server" Checked='<%# Bind("IsQIB") %>'
Text="Is QIB?" />
</td>
</tr>
<tr>
<td>
QIB Exp Date:
</td>
<td>
<radCln:RadDatePicker ID="txtQibDate" Runat="server"
Culture="English (United States)" EnableTyping="False"
DbSelectedDate='<%# Bind("QIB_Exp_Date") %>'>
<DateInput Skin="">
</DateInput>
</radCln:RadDatePicker>
</td>
</tr>
</table>
<asp:LinkButton ID="UpdateButton" runat="server" CausesValidation="True"
CommandName="Update" CssClass="linkButton" Text="Update" />
<asp:LinkButton ID="UpdateCancelButton" runat="server"
CausesValidation="False" CommandName="Cancel" CssClass="linkButton"
Text="Cancel" />
</EditItemTemplate>
Thanks.