i have a link inside the gridtemplatecolumn of a grid.
on click of that link i call a js function.
I need to know the DataKey value of that row in which the link was clicked in the javascript function.
How can i get the key value on client side.
I was trying to do something like :
var
masterTable = $find("<%=RadGridContact.ClientID%>").get_masterTableView();
var contactId = masterTable.get_selectedItems()[0].getDataKeyValue("ContactID");
But the problem is that my row is not selected so i get the selecetedItems as null.
can you suggest?