Hi,
I have a user control that I have developed using the RadRichTextBox. When I enable the context menu on the RichTextBox, I get Application Error 4009: "element is already the child of another element". I have extracted my user control into an external project to see if I can reproduce the problem outside of my application, but it seems to work when it is outside my application.
I know that the ContextMenu must be set using an attached property inside the RadRichTextBox, so I think it must be getting confused somehow based on the way that it is used in the logical tree of my application. Is this a known issue? How can I go about tracking down what could possibly be wrong with the XAML in my application?
Thanks,
Rob
I have a user control that I have developed using the RadRichTextBox. When I enable the context menu on the RichTextBox, I get Application Error 4009: "element is already the child of another element". I have extracted my user control into an external project to see if I can reproduce the problem outside of my application, but it seems to work when it is outside my application.
I know that the ContextMenu must be set using an attached property inside the RadRichTextBox, so I think it must be getting confused somehow based on the way that it is used in the logical tree of my application. Is this a known issue? How can I go about tracking down what could possibly be wrong with the XAML in my application?
Thanks,
Rob