| function showPopupForm() { |
| var grid = $find("<%= RadGrid1.ClientID %>"); |
| var masterTableView = grid.get_masterTableView(); |
| var row = masterTableView.get_selectedItems()[0]; |
| var dataKeyValue = masterTableView.get_selectedItems()[0].getDataKeyValue("ean"); |
| window.radopen("EditFormCS.aspx?Ean=" + dataKeyValue, "UserListDialog"); |
| } |
I hope someone can help with the above. The script runs in my app with no errors - but the dataKeyValue returns NULL
The below code works on the Server Side:-
| For Each item As GridDataItem In RadGrid_detail.SelectedItems |
| Response.Write(item("ean").Text.ToString()) |
| Dim ID As String = item.GetDataKeyValue("ean") |
| Next |
I am trying to use the Client rather than the Server to return the multiple selected values as I wish to save on round trips to the server.
Do I need some sort of ClientEvents to activate the above Java??
Any help would be Fantastic!!!
PS I am working with a Hierarchical Grid.