Not getting mousedown event in RadPane

2 posts, 0 answers
  1. Richard Harrigan
    Richard Harrigan avatar
    235 posts
    Member since:
    Nov 2009

    Posted 18 Apr 2013 Link to this post


    I have a RadPane that contains a WrapPanel and a RadRichTextBox.  The RadPane has a MouseDown event that does not fire. I use this code for all of my RadPanes to show and hide an appbar.  I can get around this problem by putting the RightButtonmousedown event in the WrapPane aand RichTextBox.  This would be special code for a RadPane as all the others use a common routine.  In searching the forum I found the following:  (Is this still an issue or is there something I am missing?).

    Posted on Apr 9, 2012 (permalink)
    This behavior is caused by the RadRichTextBox control handling the mouse down event
    and not handling the mouse up event, which respectively stops the hit testing and 
    deselects the shape. We are currently working on resolving this. In the meantime, 
    what you can try is to handle the PreviewEndEdit event of the RadDiagramShape class
    and handle it so that the shape does not exit edit mode. This needs to be done only
    when the rich textbox control has been hit (mouse left down).

    Alex Fidanov 
    the Telerik team
  2. Iva Toteva
    Iva Toteva avatar
    1319 posts

    Posted 24 Apr 2013 Link to this post

    Hello Richard,

    We are having a hard time recreating the set-up you have described and the observed behavior on your end. In that regard, we would appreciate it if you could open a support ticket and attach a sample demo, which we can look into.

    Looking forward to your reply.

    All the best,
    Iva Toteva
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top