4 Answers, 1 is accepted
Please, find attached a sample page I just created, demonstrating how to achieve calling the context menu through a key click. Currently the context menu gets opened on "c" key click.
The code uses some private methods of RadTreeView, but we will do our best to implement a proper client-side event to make this task easier for the official service pack of the "Prometheus" suite.
Kind regards,
Erjan Gavalji
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Som
Hi Som,
Thanks to the scenario you requested, after some more testing we found several glitches and we imlpemented some additions to the context menu functionality of RadTreeView "Prometheus". What we did was:
- expose a new client event, named keyDown - now you are able to attach to this event and add code to be executed in a key down (e.g. open a context menu);
- expose a method to the RadTreeView client object, named showNodeContextMenu - it allows to specify a node to which a context menu will be open.
Please, find the reworked example attached and the latest internal build also. I'd like to remind that this build is not official, but meant for testing purposes only and there might be some untested glitches yet.
Back to the e-mail:
Pressing the TAB key would set the focus to the context menu, where you can navigate through the items using the arrow keys and press ENTER to have the menu item's click event fired.
Let me know if everything is fine now.
Best,
Erjan Gavalji
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center