I am using a RadGrid and have written some Javascript attached to the grid's OnCommand Client Event. I am not sure how to get the active row of the grid from within the OnCommand client event.
I think the GetSelectedNames function in this documentation article should show you an example of how to get the selected item(s) of a RadGrid. If you only have the ability to select one row this collection will only contain a single item.