Hi,
in our old (winforms) application we used the ultracalcmanager. We were able to specify strings like "AV Vmax [m/s]_" as alias. These string would be converted to something like "AV Vmax \[m\/s\]_" and we were able to use them in the formulas like so: "[//AV Vmax \[m\/s\]_]".
We migrated to wpf and were trying to reuse the formulas. But for some reason it seams that you cannot use "[" or "]" as valid values within the referenceId (Object ControlCalculationSettings). If I remove those characters form my formula and the referenceIds the formula works but if I leave them in the value will not be calculated.
Am I correct with this observation? If so how can I get my old formulas to work?
RegardsJohannes
Hi Johannes,
This issue has been resolved in the latest service release that was just recently released. Head over to https://ko.infragistics.com/my-account/keys-and-downloads/ to download it.
This issue has been resolved and should be available in a future service release. With the fix you will be able to escape in the same manner as winforms calc manager.
Hope this helps,
Sandip
I've created a sample to test this and I can verify that I'm seeing the same behavior. I can't get the formula to resolve when using an escape sequence combined with one of the special characters listed in the documentation. As such I have asked our engineering staff to examine this further. To ensure that it will receive attention, I have logged this behavior in our internal tracking system with a Development ID of 132412. The next step will be for a developer to review my investigation and confirm my findings or to offer a fix, or other resolution.
I've created a private case for you so that I can link it to this development issue. The case number is CAS-110139-L3Q3H6.
Hi again,
I did some further digging and it seams that if you try to escape a character like so: "\<char>" the referenceId is not recognized. So the problem is not specific to "[" ord "]" but to all the characters that need to be escaped. http://help.infragistics.com/Help/NetAdvantage/WPF/2012.1/CLR4.0/html/InfragisticsWPF4.Calculations.XamCalculationManager.v12.1~Infragistics.Calculations.NamedReference~ReferenceId.html list a couple characters. I havn't tried them all but I can say that it does not work for "=", "(", ")", "[" and "]". So I assume that it will not work for the remaining characters either.