Please run the attached sample project and try to expand a row. The following error occurs:
System.NullReferenceException was unhandled by user code
HResult=-2147467261
Message=Object reference not set to an instance of an object.
Source=Telerik.WinControls.GridView
StackTrace:
at Telerik.WinControls.UI.GridDetailViewRowElement.Detach()
at Telerik.WinControls.UI.GridRowElement.DisposeManagedResources()
at Telerik.WinControls.DisposableObject.PerformDispose(Boolean disposing)
at Telerik.WinControls.RadElement.PerformDispose(Boolean disposing)
at Telerik.WinControls.DisposableObject.Dispose(Boolean disposing)
at Telerik.WinControls.RadElement.DisposeChildren()
at Telerik.WinControls.RadElement.PerformDispose(Boolean disposing)
at Telerik.WinControls.DisposableObject.Dispose(Boolean disposing)
at Telerik.WinControls.RadElement.DisposeChildren()
at Telerik.WinControls.RadElement.PerformDispose(Boolean disposing)
at Telerik.WinControls.DisposableObject.Dispose(Boolean disposing)
at Telerik.WinControls.RadElement.DisposeChildren()
at Telerik.WinControls.RadElement.PerformDispose(Boolean disposing)
at Telerik.WinControls.DisposableObject.Dispose(Boolean disposing)
at Telerik.WinControls.RadElement.DisposeChildren()
at Telerik.WinControls.RadElement.PerformDispose(Boolean disposing)
at Telerik.WinControls.DisposableObject.Dispose(Boolean disposing)
at Telerik.WinControls.RadElement.DisposeChildren()
at Telerik.WinControls.RadElement.PerformDispose(Boolean disposing)
at Telerik.WinControls.DisposableObject.Dispose(Boolean disposing)
at Telerik.WinControls.RadElement.DisposeChildren()
at Telerik.WinControls.RadElement.PerformDispose(Boolean disposing)
at Telerik.WinControls.DisposableObject.Dispose(Boolean disposing)
at Telerik.WinControls.ComponentThemableElementTree.Dispose(Boolean disposing)
at Telerik.WinControls.RadControl.Dispose(Boolean disposing)
at Telerik.WinControls.UI.RadGridView.Dispose(Boolean disposing)
at System.ComponentModel.Component.Dispose()
at System.Windows.Forms.Control.Dispose(Boolean disposing)
at System.Windows.Forms.Form.Dispose(Boolean disposing)
at Telerik.WinControls.UI.RadFormControlBase.Dispose(Boolean disposing)
at Telerik.WinControls.UI.RadForm.Dispose(Boolean disposing)
at _1401918_GridHierarchyPageViewMode.RadForm1.Dispose(Boolean disposing) in d:\Projects\1401918 GridHierarchyPageViewMode\RadForm1.Designer.cs:line 20
at System.ComponentModel.Component.Dispose()
at System.Windows.Forms.ApplicationContext.Dispose(Boolean disposing)
at System.Windows.Forms.Application.ThreadContext.DisposeThreadWindows()
InnerException: