Hi,
today i updated a project from 10.2.20102.2174 to 2207.
In my window I have several views in a XamDockManager.In one view I have a XamDataGrid which has a FieldLayout with a SummaryDefinition.Since the update I get a System.NullReferenceException when I try to open the view with an empty datasource.
The stacktrace end's with:
bei Infragistics.Windows.DataPresenter.GridViewPanelFlat.ArrangeHelper(UIElement visualChildElement, Dictionary`2 headerRecordMap, Boolean orientationIsVertical, Boolean isReverseLayoutForBottomFixed, Double extentUsedByLastItem, Double clipExtent, Size arrangeSize, Rect& arrangeRect, Double& recordIndent)
bei Infragistics.Windows.DataPresenter.GridViewPanelFlat.ArrangeOverride(Size finalSize)
The whole stacktrace is attached.
When I loaded the Infragistics Sourcecode, Visual Studio points to the file DataPresenter\GridViewPanelFlat.cs and the following line where headerRecordMap is NULL:
// JJD 1/24/11 - TFS63831// Make sure the header is removed from the map so it// doesn't get arranged out of viewheaderRecordMap.Remove(attachedToRecord);
Removing the SummaryDefinition from my FieldLayout avoids the exception but since it worked in 2174 it seems to be a bug.
This issue is killing me. It makes using summary rows unacceptable. The error causes your clients to just bomb out cursing you in the process. Its ashame that such a large bug was allowed out in the wild.
I'm having the same issue using the summary row and a blank datasource and the latest service release. A workaround or fix needs to be produced ASAP. This is ridiculous.
HI ,
Currently this developer issue is in review.
I have no timeframe as to when it will be resolved.
Sincerely, Matt Developer Support Engineer
Hi Matt,
I'm experiencing the same issue with the xamDataGrid from 2010.vol3 SR 2116.
Will it be resolved in the next SR or in the 2011.vol1 ?
Sincerely,
Clément
HI,
I am going to submit this issue for developer review.
Sincerely, MattDeveloper Support Engineer