Hello friends,
I am using GridClientSelectColumn to select the rows and want to access one of the columns data.
I tried the code below but i am getting error
"Error 5 Cannot convert type 'Telerik.Web.UI.GridItemCollection' to 'Telerik.Web.UI.GridDataItem'"
protected
void
Button1_Click(
object
sender, EventArgs e)
{
foreach
(GridDataItem item
in
RadGrid1.SelectedItems)
{
GridDataItem item = (GridDataItem)RadGrid1.SelectedItems;
String str=item[
"ColumnUniqueName"
].Text;
//access the value here
}
}
Thanks