1、ASPxGridLookup - get a value on the client-side in the "Multiple" selection mode
ASPxGridLookup.GetGridView().GetSelectedKeysOnPage(columnname)
GridLookup.GetGridView().GetSelectedFieldValues(columnname, GotSelectedValues);
function GotSelectedValues(selectedValues) {
listBox.ClearItems();
if(selectedValues.length == 0) return;
for(i = 0; i < selectedValues.length; i++) {
s = "";
for(j = 0; j < selectedValues[i].length; j++) {
s = s + selectedValues[i][j] + " ";
}
listBox.AddItem(s);
}
}
2、ASPxGridLookup - get a value on the client-side in the "Single" selection mode
var g = ASPxGridLookup.GetGridView();
alert(g.GetRowKey(g.GetFocusedRowIndex()));