get_text() and get_textElement() returns diferent values

4 posts, 0 answers
  1. Piyush Bhatt
    Piyush Bhatt avatar
    166 posts
    Member since:
    Nov 2007

    Posted 02 May 2008 Link to this post

    I am trying to set the text of a node using Javascript. but its not setting it propertly.

    After set_text() if I call get_text() it returns me the new value - but the value is not displayed on the tree. And the get_textElement() returns me the older value.

    Do you know why this may be happening?

  2. Nikolay
    Nikolay avatar
    3997 posts

    Posted 02 May 2008 Link to this post

    Hello Piyush,

    I tried to reproduce the problem locally, but to no avail.

    I attached a small and running project on the matter. Please download the files and give them a go.

    What am I missing?

    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Adam
    Adam avatar
    1 posts
    Member since:
    Oct 2008

    Posted 07 Dec 2008 Link to this post

    I am experiencing the same problem using 2008.3.1125 - it seems to be related to having " in the text.  It will put a " in the first time, but will not replace text that has a ". 
  4. Yana
    Yana avatar
    5042 posts

    Posted 08 Dec 2008 Link to this post

    Hello Adam,

    Could you please paste sample code illustrating the issue here? Thanks

    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top