Hello all. I have a RadGrid with 1 MasterTableView and 1 GridTableView. I want to implement
a custom CommandItemDisplay that opens a new window for adding the record. My only
problem is that I will need to send the "ID" of the parent grid item. Obviously this will be done
through JavaScript, however, I don't know how to get the required data I need to send the
Add Record Window.
I have a link button in the GTV CommandItemDisplay that runs the JS Code below right now.
Anyone have any ideas? Thanks in advance.
Joshua
a custom CommandItemDisplay that opens a new window for adding the record. My only
problem is that I will need to send the "ID" of the parent grid item. Obviously this will be done
through JavaScript, however, I don't know how to get the required data I need to send the
Add Record Window.
I have a link button in the GTV CommandItemDisplay that runs the JS Code below right now.
function Add(sender, args) { |
// var eventid = args.get_parent.get_dataKeyValue("ID"); |
alert("Add record for master # " + eventid); |
} |
Anyone have any ideas? Thanks in advance.
Joshua