We have encountered a rather frustrating null reference exception that is being thrown while attempting to call GridControl.DataRows.Clear().
Stack trace:
at Xceed.Grid.Row.GetParentGridFromContainingList(IStructuredList structuredList)
at Xceed.Grid.DetailGrid.IsParentOf(Row row)
at Xceed.Grid.DetailGrid.ClearGridBody(Boolean unbindSubGrid)
at Xceed.Grid.DetailGrid.DataManager_DataRowsChanged(DataRowsChangedEventArgs e)
at Xceed.Grid.DataManager.InvokeOnDataRowsChanged(DataRowsChangedEventArgs e)
at Xceed.Grid.Collections.DataRowList.OnClearComplete()
at Xceed.Utils.Collections.ListBase.InternalClear()
at Xceed.Utils.Collections.ListBase.ListClear()
at Xceed.Grid.Collections.DataRowList.Clear()
at SmcManager.ScriptMaintenance_Form.LoadScripts(Int32 selectedScriptId) in C:\dev\smc\HolidayInn\SmcManager\ScriptMaintenance_Form.cs:line 137
Please advise; I am ready and willing to supply more context.
Thanks,
Evan