Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2165
The specified Visual is not an ancestor of this Visual - TrySimpleTransformToAncestor - DataPresenter
posted

Using the Infragistics 18.2 version with Remote desktop connection we get a datapresenter error.

Exception-InnerLevel: 1

Exception-Message: The specified Visual is not an ancestor of this Visual.

Exception-Source: PresentationCore

Exception-TargetSite: Boolean TrySimpleTransformToAncestor(System.Windows.Media.Visual, Boolean, System.Windows.Media.GeneralTransform ByRef, System.Windows.Media.Matrix ByRef)

Exception-StackTrace:

   bei System.Windows.Media.Visual.TrySimpleTransformToAncestor(Visual ancestor, Boolean inverse, GeneralTransform& generalTransform, Matrix& simpleTransform)

  bei System.Windows.Media.Visual.TransformToAncestor(Visual ancestor)

   bei Infragistics.Windows.DataPresenter.DataPresenterBase.GetRecordPresentersInViewHelper(FrameworkElement parent, Panel topLevelPanel, List`1 recordPresenters, Boolean recursive, Boolean onlyFullyInViewInXDimension, Boolean onlyFullyInViewInYDimension, Boolean excludeFixedRootRecords, Type restrictToRecordType, Boolean ignoreAnimations, Boolean dontExcludeActiveRecord)

   bei Infragistics.Windows.DataPresenter.DataPresenterBase.GetRecordPresentersInView(Boolean recursive, Boolean ignoreAnimations, Boolean skipUpdateLayout, Boolean processPendingInvalidateGeneratedStyles)

   bei Infragistics.Windows.Automation.Peers.DataPresenter.DataPresenterBaseAutomationPeer.GetRecordsInView()

   bei Infragistics.Windows.Automation.Peers.DataPresenter.DataPresenterBaseAutomationPeer.<GetRecordsInView>d__28.MoveNext()

   bei Infragistics.Windows.Automation.Peers.DataPresenter.ViewableRecordCollectionAutomationPeer.GetChildrenHelper(Boolean forceGetAll)

   bei Infragistics.Windows.Automation.Peers.DataPresenter.ViewableRecordCollectionAutomationPeer.GetChildrenCore()

   bei System.Windows.Automation.Peers.AutomationPeer.EnsureChildren()

   bei System.Windows.Automation.Peers.AutomationPeer.UpdateChildrenInternal(Int32 invalidateLimit)

   bei Infragistics.Windows.Automation.Peers.DataPresenter.DataPresenterBaseAutomationPeer.OnProcessVisualTreeOnlyChanged()

   bei Infragistics.Windows.Automation.Peers.DataPresenter.DataPresenterBaseAutomationPeer.DirtyVirtualizedRecordPeers(Boolean async)

   bei Infragistics.Windows.Automation.Peers.DataPresenter.DataPresenterBaseAutomationPeer.<DirtyVirtualizedRecordPeers>b__29_0()

In the following way can be reproduced.

Start a WPF application, which contains a datagrid with data on a remote computer. Disconnect the remote PC and leave the application to run. Make a new connection and you will get the error.

Can you help us to find out what can be the problem?

Parents Reply Children
No Data