Pre loader

ERROR : Element already has a logical parent

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

0
0

Hi,

I have a usercontrol which has SCI chart controls. This usercontrol is added and removed from a parent Window based on few business logic.
While adding the control i get the following error.

Error: Element already has a logical parent. It must be detached from the old parent before it is attached to a new one.

In one of the forum it was mentioned that this was a known issue and was rectified. Please let me know on a workaround to overcome this issue.

Thanks,
Deepak

Version
5.4.0.12119
  • You must to post comments
1
0

Hi Deepak,

Thanks for your inquiry.
This is a known WPF issue – any WPF UI element can have only one logical parent. Unfortunately, we cannot help you more without having more information. This issue may happen with any of UI controls on a dynamic UI.

Please try to reproduce it in a simple stand-alone sample and send it to us. We will gladly investigate and help with it.

With best regards,
Oleksandr

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies