How to add,remove,change nodes' text and save to database

2 posts, 0 answers
  1. Hsuani
    Hsuani avatar
    7 posts
    Member since:
    Oct 2010

    Posted 29 Aug 2014 Link to this post

    Could you show me a sample for add,remove,change text with a RadTreeView and save to database?
    I tried many ways but never work.
    At first I face "id" problem,these create by JavaScript doesn't have Value to be "id".
    Then I face "parentID" problem,because parentNode is create by JavaScript so it have no Value to become "parentID"
    And many problems.

    (I am trying to create a new tree,the database is empty)

    Could you give me a sample for Client-Side add,remove,change text,and postback to save to Database?

  2. Boyan Dimitrov
    Boyan Dimitrov avatar
    1968 posts

    Posted 02 Sep 2014 Link to this post


    I would suggest setting the RadTreeView DataValueField=''id". This way you can use the RadTreeNode client-side object get_value() in order to get the node id value in the data base.

    Boyan Dimitrov

    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.

Back to Top