Unplanned
Last Updated: 05 Jun 2017 15:59 by ADMIN
ADMIN
Dimitar
Created on: 12 Jun 2014 08:58
Category: TreeView
Type: Bug Report
0
FIX: RadTreeView's inbuilt context menu does not appear in iOS Safari and Chrome

		
2 comments
ADMIN
Dimitar
Posted on: 05 Apr 2016 08:41
Thus, if a TreeViewNode is tapped on a mobile device, the context menu will be shown. And on desktop, the context menu will continue to be shown on right click.
ADMIN
Dimitar
Posted on: 05 Apr 2016 08:38
As a workaround, you may handle the RadTreeView OnClientNodeClicked event as follows:

OnClientNodeClicked="ShowContextMenu"

<script type="text/javascript">
    function ShowContextMenu(sender, e) {
        if ($telerik.isTouchDevice) {
            sender.showNodeContextMenu(e.get_node(), e.get_domEvent());
        }
    }
</script>