Pre loader

Specifying xml:lang="zh-CN" on a panel that contains a SciChartSurface causes a WPF InvalidOperationException

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

1
0

Hi everyone, I encountered a very strange bug in SciChart today.

For a customer in China I had to render Chinese characters so I specified the xml:lang=”zh-CN” attribute to ensure they are rendered correctly.

I did this on a panel that also contained a SciChart surface.
And now, whenever I moved away from the page containing the control, I got a WPF invalid operation exception triggered by the SciChart control with the following text:

“cannot modify the logical children for this node at this time because a tree walk is in progress”

The workaround was of course very simple: specify the xml:lang attribute on the specific textboxes that contained the Chinese characters. But it took me a while to figure out that this was the cause of the problem.

  • You must to post comments
0
0

Hi Stefan,

Thank you for reporting this. It seems to be a really weird isssue. Please let me log it in our bug tracker for future investigation.

Best regards,
Yuriy

  • Stefan Linssen
    Please do. As stated, we have no urgent issue anymore, but it is certainly a bug.
  • Yuriy Zadereckiy
    Hi Stefan, we’ve tried to reproduce the issue on our side, but couldn’t. Probably the issue is somehow connected with your navigation. May I ask you to try to reproduce this in a small project and send it to us for investigation?
  • 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