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

Not getting mousedown event in RadPane

1 Answer 116 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Richard Harrigan
Top achievements
Rank 1
Richard Harrigan asked on 18 Apr 2013, 11:00 PM
Hi

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).

Regards,
Alex Fidanov 
the Telerik team

1 Answer, 1 is accepted

Sort by
0
Iva Toteva
Telerik team
answered on 24 Apr 2013, 11:55 AM
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.

Tags
RichTextBox
Asked by
Richard Harrigan
Top achievements
Rank 1
Answers by
Iva Toteva
Telerik team
Share this question
or