I am creating a RadGridView at runtime. This is then added to a pannel. In the Radgrid view I have a column that has checkboxes.
I am using the RowEditEnded event of the gridview to go through all the rows in the gridview and set the checkbox column.
I am facing a weired issue when the grid is loaded the first time and when I uncheck or check the checkbox
the following code equates to true
((
RadGridView)sender).CurrentCell == null
and throws an exception. But if I sort the grid before editing the row it works.
PS: I have upgraded all my controls to Q2-2010
Thanks,
Gopi
6 Answers, 1 is accepted
We will take a look at this exception but I am curious as to why you need to access the CurrentCell to apply the required changes?
Kind regards,
Milan
the Telerik team

I am experiencing a weird problem now. When I double click on an row in the radgrid view, some of the rows disappear.
I am getting the following error on the output window. I am creating the Radgridview programmatically and adding it to a RadPanel and then adding it to a Tab control, all programmatically.
System.Windows.Data Error: Failed to connect to index '0' in object 'System.Collections.ObjectModel.ReadOnlyObservableCollection`1[System.Windows.Controls.ValidationError]' (type 'System.Collections.ObjectModel.ReadOnlyObservableCollection`1[System.Windows.Controls.ValidationError]'). BindingExpression: Path='(Validation.Errors)[0].ErrorContent' DataItem='System.Windows.Controls.CheckBox Content: IsChecked:False' (HashCode=61304121); target element is 'Telerik.Windows.Controls.Chromes.ValidationTooltip' (Name='ValidationTooltip'); target property is 'TooltipContent' (type 'System.Object').
This problem is now resolved and the fix is included in our latest Internal Build. Upgrading to the latest build should resolve the problem.
Regards,
Milan
the Telerik team

I have installed the latest build and I am still facing the same issue. My rows from the grid disappears when i double clik on it.
Thanks,
Gopi

Hi
I have installed the latest build and I am still facing the same issue. My rows from the grid disappears when i double clik on it.
Thanks,
Gopi

Please ignore this post.