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
- Deepak Ramamurthy asked 4 years ago
- You must login to post comments
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
- Oleksandr Shvets answered 4 years ago
- You must login to post comments
Please login first to submit.