This demo shows how to:
- Use client-side events to respond to right-clicking a grid.
- Use client-side functions to identify the clicked row.
- Invoke a popup control with additional information about the clicked row.
Please look at the JS code (JS tab on the Code page) to find out how to do this.
Question Comments
Added By: Brad C at: 8/5/2014 4:30:02 PM
what is popup_notesEditor ?? doesn't seem to be declared anywhere
Added By: Andrew (DevExpress) at: 8/5/2014 10:52:03 PMHi Brad,
Yes, it is not obvious. Let me explain this.
The most our server side asp.net controls have corresponded j script/client widgets. They have the same name as server side control. For example, ASPxGridView on server and ASPxClientGridView on client.
The grid in this example has name “grid” ID="grid" PopupControl has ID=”popup”, Memo control inside the popup control has ID=”notesEditor”. The full name for memo control (id + all parent controls ids, excluding page) is “popup_notesEditor”. So here is what we have.
If you run the demo and “View Source”, you will see the following generated Jscript:
var dxo = new ASPxClientMemo('popup_notesEditor');
Thank you,
Andrew R&D.