<MasterTableView DataKeyNames="ID" CommandItemDisplay="TopAndBottom" EditMode="PopUp" DataSourceID="DS1">
Hi,
I was using the above code for editing data with a pop-up.
My edit is working fine...but the add button...which appears when I Give Commanditemdisplay is not l working..It says the specific cast is Invalid...once I remove the date fields then i get the add button working...
My data field:
<telerik:GridBoundColumn UniqueName="TechnicalDateofEntry" HeaderText="TechnicalDateofEntry" DataField="TechnicalDateofEntry" DataFormatString="{0:d}">
Edit template:
<td>
DateofEntry
</td>
<td>
<telerik:RadDatePicker ID="TextBox17" runat="server" SelectedDate='<%# Bind( "TechnicalDateofEntry") %>'>
</telerik:RadDatePicker>
</td>
<InsertParameters>
<asp:Parameter Name="TechnicalDateofEntry" Type="DateTime" />
</InsertParameters>
.I have the attached error...plz let me know wats causing this issue..Am i missing casting anywhere...all I declared is date time..
Thanks a lot..
Hi,
I was using the above code for editing data with a pop-up.
My edit is working fine...but the add button...which appears when I Give Commanditemdisplay is not l working..It says the specific cast is Invalid...once I remove the date fields then i get the add button working...
My data field:
<telerik:GridBoundColumn UniqueName="TechnicalDateofEntry" HeaderText="TechnicalDateofEntry" DataField="TechnicalDateofEntry" DataFormatString="{0:d}">
Edit template:
<td>
DateofEntry
</td>
<td>
<telerik:RadDatePicker ID="TextBox17" runat="server" SelectedDate='<%# Bind( "TechnicalDateofEntry") %>'>
</telerik:RadDatePicker>
</td>
<InsertParameters>
<asp:Parameter Name="TechnicalDateofEntry" Type="DateTime" />
</InsertParameters>
.I have the attached error...plz let me know wats causing this issue..Am i missing casting anywhere...all I declared is date time..
Thanks a lot..