For a particular textbox cell I'd like to catch the F4 key to open a popup window with a selection list. This, in itself, works fine. But I need the contents of the cell. So I get the cell value like this:
Dim ThisRow As GridViewRowInfo = grdPositionen.MasterView.CurrentRow
Dim Filter As String = ""
If ThisRow.Cells(1).Value IsNot Nothing Then
Filter = ThisRow.Cells(1).Value.ToString.Trim
....
But for some strange reason I don't get the actual contents of the cell, but the original contents instead. In other words; when the user just typed something else there, it's not in the Value property. How do I get the actual contents of the cell?
Dim ThisRow As GridViewRowInfo = grdPositionen.MasterView.CurrentRow
Dim Filter As String = ""
If ThisRow.Cells(1).Value IsNot Nothing Then
Filter = ThisRow.Cells(1).Value.ToString.Trim
....
But for some strange reason I don't get the actual contents of the cell, but the original contents instead. In other words; when the user just typed something else there, it's not in the Value property. How do I get the actual contents of the cell?