Hello...
I'm trying this JS to get the code:
Code: JavaScript
var grCP = <%= grCP.ClientID %>;
var item = grCP.getSelectedItem();
var PKid = item.getKey();
showPopWin('modUsuarios.aspx?modo=alterar&key='+PKid,750,500, null, true);
The function is not called by any Grid onClick Event.
But the DataKey is not been retrieved.
the [item] var is being set as undefined.
How can I get this value?
tks,
christiano.