Disable collapse/expand in treeview

2 posts, 1 answers
  1. Lubomir
    Lubomir  avatar
    15 posts
    Member since:
    Sep 2012

    Posted 01 Nov 2012 Link to this post

    i want to disable this functionality - expand and collapse. When i loaded my tree I using tree.ExpandAllNodes().
    After that i hidden buttons(checkboxes) for this activity, but now they are invisible but they work.
  2. Answer
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 01 Nov 2012 Link to this post

    Hi Lubomir,

    I suppose you want to disable collapsing of the RadTreeNode. Try canceling collapsing in the OnClientNodeCollapsing event of RadTreeView.

    <telerik:RadTreeView ID="RadTreeView1" runat="server" OnClientNodeCollapsing="OnClientNodeCollapsing">

    <script type="text/javascript">
        function OnClientNodeCollapsing(sender, args) {

    Hope this helps.

  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top