OnSelectionChanged()

2 posts, 0 answers
  1. Paul Gallen
    Paul Gallen avatar
    156 posts
    Member since:
    Jun 2008

    Posted 09 Dec 2008 Link to this post

    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
  2. Martin Vasilev
    Admin
    Martin Vasilev avatar
    1061 posts

    Posted 12 Dec 2008 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top