How to give id property to each tree item for remote binding tree

2 posts, 0 answers
  1. Rajendar
    Rajendar avatar
    70 posts
    Member since:
    Jun 2013

    Posted 13 Nov 2014 Link to this post

    Hi Everyone,

    I am checking test-ability of Kendo UI application with CUIT (Coded UI of Microsoft). Whenever I record action on tree item it is recorded with InnerText.

    In the attached image you can find that there are two two tree items at different level with same name "logo.png". Now only way that I can differentiate these two items is "TagInstance" which is not reliable.

    To make it working consistently I can add "id" property to each tree item. If it is a simple tree view I can directly add with ".HtmlAttributes(new {id = "staticNotification" })" code.

    Please let us know how to give ids for each tree item in case of Data Binding. (Local binding, remote binding)

    Is there any documentation to provide ids for tree item for each type of tree.

  2. Atanas Georgiev
    Atanas Georgiev avatar
    126 posts

    Posted 13 Nov 2014 Link to this post

    Hi Rajendar,

    I have already answered similar question in the other forum thread: 

    Atanas Georgiev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top