Thank you. i have posted that in the Forum , but the reply after some time, so i have found a solution to some people in other forums that happen to use infragistics.
Solution:
i used a clientside scriping to find the ID of the row like this
function
SetHidSelectedRows()
{
var grid = igtbl_getGridById("<%= Gridstaff.ClientID %>"
);
var HidActivity = document.getElementById("<%= HidSelectedActv.ClientID %>"
);
var HidSelecteStaff = document.getElementById("<%= HidSelecteStaff.ClientID %>"
);
var selectedActivity = new
Array();
var selectedStaff = new
Array();
for(var rowId in
grid.SelectedRows)
{
var
row=igtbl_getRowById(rowId);
selectedActivity.push(row.getCell(0).getValue());
selectedStaff.push(row.getCell(1).getValue());
}
HidActivity.value = selectedActivity;
HidSelecteStaff.value = selectedStaff;
return true;
and i have created two hidden Fields and retrieve the values on the server side.
Thanks