have a RadTreeview Control embeded in RadCombobox.
Checkboxes and Multiple select property of treeview is set to true.
When i select tree nodes by checking checkboxes corresponding to them everything works fine and i am able to select as many nodes as required.
But when i try to select the nodes by clicking the Node text radcombobx collapse after selection.
Hence i am not been able to select multiple nodes at a time.
I tried using following workaround on OnClientDropDownClosing event of RadCombobox:
Everything works fine and multiple selection of nodes is possible. But now a new problem arises:
Dropdown even does not close on click of dropdown arrow button.
Any solutions on how both of these functionality can be achieved:
1. Multi selection of nodes
2. Dropdown closing on click of dropdown arrow button or when user clicks outside dropdown.
Checkboxes and Multiple select property of treeview is set to true.
When i select tree nodes by checking checkboxes corresponding to them everything works fine and i am able to select as many nodes as required.
But when i try to select the nodes by clicking the Node text radcombobx collapse after selection.
Hence i am not been able to select multiple nodes at a time.
I tried using following workaround on OnClientDropDownClosing event of RadCombobox:
<script type="text/javascript"> |
function OnClientDropDownClosing(sender, eventArgs) |
{ |
if( sender._focused == true) |
{ |
eventArgs.set_cancel(true); |
} |
else |
{ |
eventArgs.set_cancel(false); |
} |
} |
</script> |
Everything works fine and multiple selection of nodes is possible. But now a new problem arises:
Dropdown even does not close on click of dropdown arrow button.
Any solutions on how both of these functionality can be achieved:
1. Multi selection of nodes
2. Dropdown closing on click of dropdown arrow button or when user clicks outside dropdown.