Disable node level checking.

2 posts, 0 answers
  1. Robert
    Robert avatar
    12 posts
    Member since:
    May 2013

    Posted 03 Jun 2013 Link to this post

    Hi,

    How to disable checking checkboxes for a particular level of nodes from C#?

    Thanks,
    Robert
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 03 Jun 2013 Link to this post

    Hi Robert,

    Try the following C# code.

    C#:
    protected void RadDropDownTree1_NodeDataBound(object sender, Telerik.Web.UI.DropDownTreeNodeDataBoundEventArguments e)
    {
        if (e.DropDownTreeNode.Level == 0)
            e.DropDownTreeNode.Checkable = false;
    }

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