Remove nodes from treeview control on client side

Discussion in 'ASP .Net Web Controls' started by Oren, Sep 6, 2004.

  1. Oren

    Oren Guest

    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
    Oren, Sep 6, 2004
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Boss302
    Replies:
    0
    Views:
    1,041
    Boss302
    Nov 21, 2006
  2. Homer J. Simpson

    TreeView - re-ordering nodes client-side

    Homer J. Simpson, Aug 8, 2007, in forum: ASP .Net
    Replies:
    2
    Views:
    313
    Homer J. Simpson
    Aug 14, 2007
  3. Bogdan
    Replies:
    2
    Views:
    649
    Bogdan
    Jun 9, 2008
  4. Per Salmi

    TreeView not rendering nodes? Cacheing of a TreeView

    Per Salmi, Oct 15, 2003, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    461
    Steve Drake
    Oct 15, 2003
  5. JamesHead

    Treeview Client side expanding and collapsing of nodes

    JamesHead, Jan 24, 2005, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    203
    JamesHead
    Jan 24, 2005
Loading...

Share This Page