We , few developers in my company evaluating the the RAD Controls for AJAX .net. I would like to know how to get the grid column value of a selected row.This is after the user select a row using the SELECT command.
You can add GridButtonColumn columns to a grid to handle the selection and de-selection of grid rows. Here is the code for getting the selected row values in ItemCommand event.
string str = (e.Item as GridDataItem)["CustomerID"].Text;
Response.Write(str);
}
}
Note: In addition, you can handle the
SelectedIndexChanged server event of the grid to detect when a row's selection changes perform additional operations if needed.