Remove nodes from treeview control on client side

O

Oren

Hi,
I have a treeview control on my page. I'm having no problems adding nodes to
the control with my Jscript on the client-side, but when I want to remove a
node from the treeview it shouts "object doesn't support this property or
method".
I'm using the following code to remove the node:

var itemNode = Treeview1.getTreeNode(itemIndex);
itemNode.Remove();

Thank you very much
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top