Storing key or Taf with each node

2 posts, 0 answers
  1. Claude
    Claude avatar
    63 posts
    Member since:
    Apr 2009

    Posted 02 Dec 2013 Link to this post

    I wish to add a key or a tag with each node (db record id) so when the user selects the node, I can retrieve the key or tag and go query the database.

    Suggestions on how to store the key during node creation(node.add) and retrieval would be helpful

  2. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 05 Dec 2013 Link to this post

    Hi Claude,

    Thank you for writing.

    If the tree is bound, then you can access the data item of each node via its DataBoundItem property, so you do not need to store anything in advance. 

    Let me know how this works for you.

    Regards,
    Stefan
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top