This is a migrated thread and some comments may be shown as answers.

Disabling the automatic NodeExpand

1 Answer 46 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Ben Turpin
Top achievements
Rank 1
Ben Turpin asked on 04 Aug 2008, 03:05 PM
Hi.

When you hover a node over a another node, the targeting node expands automatically. I want to disable this feature.
So any node can only be expanded by pressing the expand (+) symbol.

Thanks!

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 04 Aug 2008, 04:14 PM
Hello Ben Turpin,

Currently there is no property to disable this behavior. You can however override an internal JavaScript method of RadTreeView and leave the implementation empty:

<script type="text/javascript">
     Telerik.Web.UI.RadTreeView.prototype._expandOnHover = function () {}
</script>

Regards,
Albert
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
TreeView
Asked by
Ben Turpin
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or