Infragistics Home

Infragistics Forums

Infragistics community online discussions.
Welcome to Infragistics Forums Sign in | FAQ
in Search

CalcManager not calculating (Invalid or unavailable reference)

Last post 06-26-2008 12:25 by transcanada_gtn. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 06-25-2008 12:06

    CalcManager not calculating (Invalid or unavailable reference)

    I'm trying to use the CalcManager to sum a column and put the value in a UltraLabel.  The formula I create in the formula builder is "sum( [//gridAssurances/Assurances/Amount] )" so I'm pretty sure the formula is correct.  In fact, when I first open the form (before populating the grid with data), the formula calculates "0", which is correct since there are no rows.  After populating the grid, I get the "Invalid or unavailable reference" error.  I have looked at the sample and I can't see anything different other than the sample uses an UltraDataSource and I am binding to a "BindingSource" which uses a business object as it's DataSource.  Can anyone help with this?

    • Post Points: 5
  • 06-26-2008 12:25 In reply to

    Re: CalcManager not calculating (Invalid or unavailable reference)

    Nevermind.  I have it working now.  It seems I had the grid binding to the bindingSource where the datasource and datamember were both defined set. I got it to work by defining only the datasource of the bindingSource.

    • Post Points: 5
Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems