This question is locked. New answers and comments are not allowed.
Hi,
I am sure this must be easy but I cannot see how to do it!
I am trapping the double click event on a cell and have a reference the the cell that was clicked. I want to get the names and contents of all the cells in the row. Can anyone help me? I have tried:
I am sure this must be easy but I cannot see how to do it!
I am trapping the double click event on a cell and have a reference the the cell that was clicked. I want to get the names and contents of all the cells in the row. Can anyone help me? I have tried:
Public Sub OnCellDoubleClick(ByVal sender As Object, ByVal e As RadRoutedEventArgs) Dim cell As GridViewCellBase = TryCast(e.OriginalSource, GridViewCellBase) If cell IsNot Nothing Then Me.ClickedCell = cell Dim row As GridViewRow = cell.ParentRow Dim celllist As List(Of GridViewCellBase) = row.Cells Dim gc As GridViewCell For Each gc In celllist MessageBox.Show(gc.Visibility & " : " & gc.Name.ToString & ":" & gc.Value.ToString) Next End If End Sub
but this does not seem to give me all the cells.
Secondly, we need to have some "invisible" cells to store data that we need when teh row is double clicked etc. How can I access the values in these cells where IsVisible=False.
Regards,
Mark