We are having the null date issue with the RAD Date Picker I have read about on the forums, the example you guys have at this link "http://demos.telerik.com/aspnet-ajax/calendar/examples/datepicker/databinding/defaultcs.aspx" shows a solution for a DataTable as the source, we are using a SqlDataSource for ours can you explain how I would use this with a SqlDataSource since it doesn't have a rows property?
Thanks!
Sam
Protected Sub RadGrid1_UpdateCommand(ByVal source As Object, ByVal e As UI.GridCommandEventArgs) Handles RadGrid1.UpdateCommand |
Dim picker As RadDatePicker = CType(e.Item.FindControl("picker1"), RadDatePicker) |
Dim newDate As Object = picker.DbSelectedDate |
DataSource1.Rows(e.Item.DataSetIndex)("Dates") = IIf(newDate Is Nothing, DBNull.Value, newDate) |
End Sub |
Thanks!
Sam