Tag is Nothing/null in NodeCheckChanged event

2 posts, 0 answers
  1. Seth
    Seth avatar
    66 posts
    Member since:
    Oct 2009

    Posted 23 May 2011 Link to this post

    I am using the Tag property to store a DataRow for each node.  It seems to work fine except for when I try to retrieve it in the NodeCheckChanged event where it is returned as nothing/null.  If I iterate through the nodes and inspect the tag property, it is set properly. Has this been reported by anyone?  I have a work around to just create a mirrored object to store my information in related by the absolute index of each node, but I would rather not do it that way.

    TIA

    Seth
  2. Seth
    Seth avatar
    66 posts
    Member since:
    Oct 2009

    Posted 23 May 2011 Link to this post

    It must be a property I set.  I deleted the TreeView control and added a new one and the problem went away.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top