Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
35
UltraCalcManager not working read values from other calculated fields
posted

I have a form with ultracalcManager and many ultranumericeditors.
When I use a control in the formula that is bounded with dataset everything works, But if in the formula is present a control that is calculated himself, the value read is zero. Example:

NumericEditor_1 Bounded to DataSet

NumericEditor_2 Bounded to Dataset 

NumericEditor_3 Use UltraCalcManager to SUM the NumericEditor_1 + NumericEditor_2 Working Good

NumericEditor_4 Bounded to Datase 

NumericEditor_5 Use UltracalcaManager to SUM NumericEditor_3 + NumericEditor_4 The result is that NumericEditor_3 is ALWAYS ZERO

and the result of the SUM is only NumericEditor_4

Why ?

Parents
No Data
Reply
  • 2680
    Offline posted

    Hi Paolo,

    Thank you for posting to Infragistics Community!

    I have been looking into your question and created a test application with several UltraNumericEditors and corresponding formula settings witht the help of the UltraCalcManager, as described by you.

    To setup the CalcSettings for the editors, I have followed the approach from this topic of our documentation.

    On my side, I am currently not able to reproduce any errors and all calculations are executed as expected. Please, check out the below gif, as well as please run and test the below attached sample on your side as well:

      

    Having in mind that the isolated sample shows this scenario working as expected, it is possible that the observed is due to some local misconfiguration. Since we cannot provide any suggestions without sample code, I would like to ask you to, please, compare any discrepancies between the sample and your own application that may indicate what the root cause of the issue might be. Alternatively, please modify the sample app with only relevant code to reproduce the behavior. Having a working sample on our side, wich we can debug will be highly appreciated, so that we can provide further assistance.

    Best regards,
    Bozhidara Pachilova
    Associate Software Developer

    1884.UltraCalcManagerTest.zip

Children