Hi,
Can some please help me in getting date from database table column..ASAP..
<MasterTableView DataKeyNames="ID" CommandItemDisplay="TopAndBottom" EditMode="PopUp" DataSourceID="DS1">
I was using the above code for editing data with a pop-up.
My edit is working fine...but the add button... 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 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..
I was update the records with out any casting...Why is it asking cast for inserting the data...????
followed the below article:
http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/templateformupdate/defaultcs.aspx
please advise
Thanks a lot..
Can some please help me in getting date from database table column..ASAP..
<MasterTableView DataKeyNames="ID" CommandItemDisplay="TopAndBottom" EditMode="PopUp" DataSourceID="DS1">
I was using the above code for editing data with a pop-up.
My edit is working fine...but the add button... 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 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..
I was update the records with out any casting...Why is it asking cast for inserting the data...????
followed the below article:
http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/templateformupdate/defaultcs.aspx
please advise
Thanks a lot..