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

OnSelectionChanged()

1 Answer 69 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
Paul Gallen
Top achievements
Rank 1
Paul Gallen asked on 09 Dec 2008, 09:46 AM
Hi,

Part of my app listens on the Selection event, however when the same node is clicked on agaIn this event does not fire. I call OnSelectionChanged() method. In your documentation it states it is for internal use only. Why is this? It works fine for me,
 

P

1 Answer, 1 is accepted

Sort by
0
Martin Vasilev
Telerik team
answered on 12 Dec 2008, 03:57 PM
Hi Paul Gallen,

Thank you for writing.

Indeed, the Selecting event is not fired if you click on the same node and this is by design. It should fired only when selection has changed. If you want to handle a click on the same node you have to use other suitable events, for example: NodeMouseDown. 

Concerning the OnSelectionChanged method, it helps only in internal implementation of RadTreeView events. That is the reason that it is marked as Obsolete and should not be used.

If you have other questions, do not hesitate to contact me again. 

Sincerely yours,
Martin Vasilev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Treeview
Asked by
Paul Gallen
Top achievements
Rank 1
Answers by
Martin Vasilev
Telerik team
Share this question
or