radtreeview to radgridview drag and doubleclick

2 posts, 0 answers
  1. paul orsillo
    paul orsillo avatar
    31 posts
    Member since:
    Jan 2010

    Posted 07 Sep 2010 Link to this post

    Hi,

    Can anyone tell me what the default behavior for RadDragAndDropManager.AddDropInfoHandler (and the other RadDragAndDropManager.AddxxxHandlers) regarding events that were marked as handled by other elements?

    Specifically do events that were marked as handled by other elements get routed to these handlers as well?

    More specifically, if I have an EventManager.RegisterClassHandler to handle MouseLeftButtonDown events will those routedevents be routed to my RadDragAndDropManager handlers as well? EventManager.RegisterClassHandler has a handledEventsToo boolean parameter that forces this behavior for those events. Does RadDragAndDropManager have an equivalent?  (It doesn't according to Intellisense).

    Thank you,
    Paul.
  2. Tsvyatko
    Admin
    Tsvyatko avatar
    833 posts

    Posted 10 Sep 2010 Link to this post

    Hi paul orsillo,

    Straight to your question:

    Q: More specifically, if I have an EventManager.RegisterClassHandler to handle MouseLeftButtonDown events will those routed events be routed to my RadDragAndDropManager handlers as well?

    A: Even you handle MouseLeftButtonDown event the event will bubble to the RadDragAndDropManager, since it is subscribed for handled events as well. This means that Drag/Drop Info/Query will be raised and will not be affected by handling the mouse events.

    Please, let me know if you have any further assistance.


    Best wishes,
    Tsvyatko
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
Back to Top