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

Hooking CommandExecuting completely breaks toolbar

2 Answers 67 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Pat
Top achievements
Rank 1
Pat asked on 04 Feb 2011, 11:03 PM
If I do not put in an event for CommandExecuting, the toolbar works great and I can format and insert objects into my document.  As soon as I provide a hook for CommandExecuting, the toolbar stops working. It's like the connection between the toolbar and the editor is broken. And the event doesn't fire either.

What's wierd is that it did work initially for a few runs.  Now it just doesn't work.  I have to remove the event handler to get the toolbar talking to the editor again.

2 Answers, 1 is accepted

Sort by
0
Pat
Top achievements
Rank 1
answered on 04 Feb 2011, 11:47 PM
Wierd. Figured it out.  I had added the Html provider but for some reason, it wasn't finding it.  But I hadn't yet called any of that code.
0
Iva Toteva
Telerik team
answered on 07 Feb 2011, 04:34 PM
Hi Pat,

It is good to hear that you have managed to track down the issue and resolve it.
If you meet any other problems, do not hesitate to contact us again.

Best wishes,
Iva
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
RichTextBox
Asked by
Pat
Top achievements
Rank 1
Answers by
Pat
Top achievements
Rank 1
Iva Toteva
Telerik team
Share this question
or