This is a migrated thread and some comments may be shown as answers.

SelectedNodeChanged fires unexpectedly

8 Answers 88 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
Sonya L
Top achievements
Rank 1
Sonya L asked on 14 Dec 2010, 11:03 PM
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!

8 Answers, 1 is accepted

Sort by
0
Richard Slade
Top achievements
Rank 2
answered on 14 Dec 2010, 11:53 PM
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
0
Sonya L
Top achievements
Rank 1
answered on 14 Dec 2010, 11:58 PM
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!
0
Richard Slade
Top achievements
Rank 2
answered on 15 Dec 2010, 01:03 AM
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
0
Richard Slade
Top achievements
Rank 2
answered on 16 Dec 2010, 01:12 PM
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
0
Sonya L
Top achievements
Rank 1
answered on 16 Dec 2010, 01:16 PM
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!
0
Richard Slade
Top achievements
Rank 2
answered on 16 Dec 2010, 01:23 PM
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
0
Julian Benkov
Telerik team
answered on 20 Dec 2010, 05:04 PM
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.
0
Stefan
Telerik team
answered on 23 Mar 2011, 04:31 PM
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
Tags
Treeview
Asked by
Sonya L
Top achievements
Rank 1
Answers by
Richard Slade
Top achievements
Rank 2
Sonya L
Top achievements
Rank 1
Julian Benkov
Telerik team
Stefan
Telerik team
Share this question
or