Mouse events for items contained in TabItem?

2 posts, 0 answers
  1. C Bates
    C Bates avatar
    33 posts
    Member since:
    Oct 2009

    Posted 07 Oct 2009 Link to this post

    We are using the TabControl and DragAndDropManager.
    In one implementation, we are able to attach event handlers to our Canvas's LButtonDown, MouseMove, and MouseWheel events. (Mousewheel support is provided by another class.)
    With these handlers, we can zoom the view via the mousewheel, and enable panning by dragging the Canvas via the other mouse events.

    When we add the TabItem control, the Canvas doesn't get any of the mouse events.  We have implemented the panning via the DragAndDropManager routines.

    What do we need to do,when using the RadTabControl, to get the mouse wheel events on one of the objects contained in a TabItem?

    Thanks for any suggestions...

  2. Miroslav
    Miroslav avatar
    922 posts

    Posted 10 Oct 2009 Link to this post

    Hello C Bates,

    I tried to reproduce this issue with the 2009.2.812 version of the controls but I could not. Quite possibly I am missing something or I have oversimplifies your case. The project I used to test this is attached.

    The canvas may not receive events because it is missing a background. Can you try setting a background ("Transparent" will also be ok)?

    Could you possibly share more details about your scenario - like the xaml of the page where the TabControl and the canvas are?

    Also, could you paste the code of the DragDrop event handlers?

    Thanks for helping us get to the problem here,

    Sincerely yours,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft banner
Back to Top