Having an issue where I get an null reference exception most (but not every) time I try to get a specific key from ColumnInfos. The code will work one out of every ten times while debugging, so I suspect this has something to do with asynchronous processing. While debugging I noticed that layout.ColumnInfos will have the correct count, but every item except "RootID" will be null which results in the exception when index "spacer" is read. Incidentally this code worked in 18.1 and now crashes in 19.1.
private static void ConfigureReelInfoBand(UltraGridBand reelInfoBand) { reelInfoBand.Indentation = 0; var spacerColumn = reelInfoBand.Columns.Add("spacer"); spacerColumn.ProportionalResize = false; var layout = reelInfoBand.RowLayouts.Add(); layout.RowLayoutStyle = RowLayoutStyle.ColumnLayout; layout.RowLayoutLabelStyle = RowLayoutLabelStyle.WithCellData; RowLayoutColumnInfo rootIdColumnInfo = layout.ColumnInfos["RootID"]; rootIdColumnInfo.Column.Hidden = true; RowLayoutColumnInfo spacerColumnInfo = layout.ColumnInfo
Hello Blake,
Thank you for contacting Infragistics. Please upload a sample application demonstrating the issue and I will investigate this for you. Let me know if you have any questions.
QCAnalysisPOC.zip
I logged a development issue and opened a private case for you, CAS-204810-R1M9D6. I will follow up there and you can access it after signing into your account on the Infragistics website, here: https://ko.infragistics.com/my-account/support-activity
Hi Michael,
Has this been fixed by Infragistics? If so, in which version/service release?
We are facing the same issue after updating to 19.1.
This issue is fixed in the latest service release.
To download the latest service release follow these steps:
View My Keys and Downloads: www.infragistics.com/.../keys-and-downloadsLog in to the Infragistics web site if you are not already logged in.Select the product you would like to download a service release for.Select the “Service Releases” tab.Select the download (e.g. Infragistics Xamarin.Forms 2015 - Service Release)