I'm trying to get the value of a cell from the row selected on my grid using:
Dim getcell As GridRecordItem
getcell = WebGrid1.Behaviors.Selection.SelectedRows(1).Items(1)
Response.Write(getcell.Text.ToString())
But it returns a "index was out of range" message
How would i get the value in javascript in AfterExitEditModeHandler client event
I decided to use the activation behavior and now have it working.
Then
GridRecordItem
getcell = WebDataGrid1.Behaviors.Activation.ActiveCell.Row.Items(1)
MsgBox(getcell.Text.ToString)
If
Hello crisafulli,
Did you enabled the grid Selection behavior and set it to Cell Selection?
What kind of selection did you choose Single or Multiple?
I am waiting for your response.
Is something selected?
Hi,
Did you change both row and item?
Ed