issue with currentNode.get_parent()!=null

4 posts, 0 answers
  1. Aleksandar
    Aleksandar avatar
    52 posts
    Member since:
    Jul 2012

    Posted 22 Oct 2008 Link to this post

    -In documentation,  currentNode.get_parent()!=null is suggested as good condition to find the last, top node as .get_parent() should return null for TreeView. This works fine if tree view is not in RadPane (not tested for other containers). When TreeView is in RadPane, .get_parent() is not null for treeview as RadPane is considered Parent for some reason. What is the solution to this?

    -How can one limit number (or type) of characters entered in RadTree node durig editing?

    Alex
  2. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 22 Oct 2008 Link to this post

    Hello Aleksandar,

    Please check the two methods described here:
    (ID#910) How to distinguish whether node.get_parent returns the parent node or the parent treeview?

    I hope this helps.

    Regards,
    Veselin Vasilev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Aleksandar
    Aleksandar avatar
    52 posts
    Member since:
    Jul 2012

    Posted 22 Oct 2008 Link to this post

    Hi Veselin,
    Including this into your documentation (help file distributed with your components) would be helpfull.

    Any info on my second question?

    Alex
  4. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 24 Oct 2008 Link to this post

    Hi Aleksandar,

    We already included that in the documentation - it will be online next week.

    About your second question - you can subscribe to the OnClientNodeEditing event.

    I hope this helps.

    Greetings,
    Veselin Vasilev
    the Telerik team

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