SelectedNodeChanged fires unexpectedly

9 posts, 0 answers
  1. Sonya L
    Sonya L avatar
    36 posts
    Member since:
    Dec 2009

    Posted 14 Dec 2010 Link to this post

    I have a RadTreeView bound to a bindinglist, which has code that is executed on SelectedNodeChanged.  The code fills a grid.  For some nodes, when they are selected, SelectedNodeChanged fires for that node, then two others afterward.  What, other than the user clicking on the node, would fire SelectedNodeChanged?  This doesn't happen for all the nodes, and I don't know what could be different about them.  Thanks!
  2. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 14 Dec 2010 Link to this post

    Hi Sonya,

    I've been unable to replicate your issue. Are you able to provide a sample that replicates this and I'll do my best
    to help
    Thanks
    Richard
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Sonya L
    Sonya L avatar
    36 posts
    Member since:
    Dec 2009

    Posted 14 Dec 2010 Link to this post

    Richard,
    I will attempt to create something.  This is so strange, that I'm not sure I will be able to recreate it, but we'll see.  I was just hoping to find out if there are other situations in which that function is called, other than the user physically selecting a node.  Thanks!
  5. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 14 Dec 2010 Link to this post

    Hi Sonya,

    great, I'll wait to hear back from you. In the meatime, are you sure that you are not re-selecting a node at any time during any process programatically? Also, are there any other distinguishing features such as it being an inherited control?

    All the best
    Richard
  6. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 16 Dec 2010 Link to this post

    Hi Sonya,

    How did you get on with this? If it helped, please mark as answer. If you need more help, just let me know
    Regards,
    Richard
  7. Sonya L
    Sonya L avatar
    36 posts
    Member since:
    Dec 2009

    Posted 16 Dec 2010 Link to this post

    I'm still working on it.  The tree is not an inherited control, and I haevn't found any places were I am programatically selecting another node.  Thanks!
  8. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 16 Dec 2010 Link to this post

    Hi Sonya,

    What about any validation on editable nodes.. are you doing that at all?
    If not, then let me know what I can do to help
    All the best
    Richard
  9. Julian Benkov
    Admin
    Julian Benkov avatar
    1135 posts

    Posted 20 Dec 2010 Link to this post

    Hello Sonya,

    We will be happy to assist you. In order to be able to handle the case, however, we will need your application or a sample of it which demonstrates the described behavior. Please note that you should open a new support ticket in order to attach your files.

    All the best,
    Julian Benkov
    the Telerik team
    Check out the Q1 2011 Roadmap for Telerik Controls for Windows Forms.
  10. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 23 Mar 2011 Link to this post

    Hello guys, 

    Please note that in Q1 2011 we have introduced a major upgrade of RadTreeView control, which is now virtualized and fully customizable. Feel free to download the latest release and try it out. For more information on our latest release refer to this blog post.

    Greetings,
    Stefan
    the Telerik team
Back to Top
UI for WinForms is Visual Studio 2017 Ready