Disabled nodes loaded from web service appear enabled

2 posts, 0 answers
  1. Mick
    Mick avatar
    16 posts
    Member since:
    May 2012

    Posted 02 Jul 2014 Link to this post

    I'm seeing pretty strange behaviour from the RadTreeView control.  The treeview is load on demand...

                    <telerik:RadTreeView ID="tvLocation" runat="server" AllowNodeEditing="False" OnClientNodeClicked="toggleTreeNodeExpansion"
                        OnClientNodeExpanding="toggleTreeNodeExpansion" DataFieldID="ID" DataFieldParentID="Parent" 
                        DataTextField="Name" DataValueField="ID" OnClientLoad="onLocationTreeClientLoad" OnClientNodeChecking="clearRtinTree"
                        Skin="Default" TabIndex="1" CheckBoxes="True" Height="100%" CheckChildNodes="true">
                        <WebServiceSettings Method="LoadLocationTreeNode" />

    The toggleTreeNodeExpansion enables disabled nodes to be expanded...

    function toggleTreeNodeExpansion(sender, args) {
        var node = args.get_node();
        if (!node.get_enabled()) {
            if (node.get_expanded())

    The nodes I'm returning nodes from the web service are disabled.  This is what I'm seeing...


    The first and last nodes loaded have the rtDisabled style however the nodes inbetween do not, until you click on them, after which they do get the style and they appear as disabled.

  2. Plamen
    Plamen avatar
    2723 posts

    Posted 07 Jul 2014 Link to this post

    Hello Mick,

    The described functionality is quite unusual indeed but I could not replicate it at my side with the code provided. I am attaching my test page. Please review it and let me know what else have to be added to observe the issue.

    Would you please elaborate what exactly are you trying to achieve when you click on the node because it is not quite clear from the explanation provided?


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

  3. DevCraft R3 2016 release webinar banner
Back to Top