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

bug: client-side node.set_visible() does nothing

3 Answers 74 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
N
Top achievements
Rank 1
N asked on 22 Apr 2008, 04:27 AM
I want to do this in Javascript:

var node = new Telerik.Web.UI.RadTreeNode()         
node.set_text("");        
node.set_value("");        
node.set_visible(false); //this doesn't work        
node.get_element().style.display='none' //nor does this       
ProductTree.get_nodes().add(node);     
 

...however even though node.get_visible() correctly returns false after this code, the node is still physically visible. Is there a way to create a new node in Javascript and make it invisibile?

Cheers,
Nuri

3 Answers, 1 is accepted

Sort by
0
N
Top achievements
Rank 1
answered on 23 Apr 2008, 12:32 AM
I'll start a ticket to see if I get an answer that way...
0
Dan
Top achievements
Rank 1
answered on 30 Jul 2008, 11:19 PM
Any news on this.  I have the same problem

Dan
0
Atanas Korchev
Telerik team
answered on 31 Jul 2008, 05:56 AM
Hello Dan,

Please check out the current official release.

Greetings,
Albert
the Telerik team

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