I have a radwindow with a grid being opened on the click of a button.
I want to retrieve al the datakey values for a sleceted row on the client side and pass it back to the calling page.
I am unable to get a collection of keys.
Do i have to extract each datakey value with the datakeyname.
In radgrid for asp.net we could do something like:
I want to retrieve al the datakey values for a sleceted row on the client side and pass it back to the calling page.
I am unable to get a collection of keys.
Do i have to extract each datakey value with the datakeyname.
In radgrid for asp.net we could do something like:
function SelectClicked()
{
var grid = window[\"gridPopup\"];
if(grid.SelectedItems[0] != null)
{
var row = grid.SelectedRows[0];
var oWindow = GetRadWindow();
scriptText.Append("oWindow.Close(row.KeyValues);
}
}
But this doesn't work with prometheus.
Please suggest.