treeViewNode set_visible(false) is not persisted on postback

2 posts, 0 answers
  1. Craig
    Craig avatar
    14 posts
    Member since:
    Oct 2013

    Posted 14 Aug 2014 Link to this post

    can anyone suggest a way of persisting the visiblilty of a node after postback.

    I am using javascript to node.set_visible(false) and using a tree.trackChanges() and tree.commitChanges() around my code...

    All other settings such as enabled/disabled and css styles are honoured on each node... but this setting does not seem to be... am I missing something?
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 17 Aug 2014 in reply to Craig Link to this post

    Hi Craig,

    Please have a look into the sample code snippet which works fine at my end. Please provide your code if it doesn't help.

    <telerik:RadTreeView ID="rtreeviewHideNode" runat="server">
            <telerik:RadTreeNode Text="Node1" runat="server">
            <telerik:RadTreeNode Text="Node2" runat="server">
    function pageLoad() {
        var treeView = $find("<%=rtreeviewHideNode.ClientID%>");

  3. DevCraft R3 2016 release webinar banner
Back to Top