Hello, just recently we incorporated your controls into our application. So far looks good! Except I notice that I'm getting the following exception when adding a TabItemEx to the xamTabControl with the CloseButtonVisibility property set to TabItemCloseButtonVisibility.WhenSelectedOrHotTracked. Any ideas on what could be causing this?
Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Infragistics.Windows.Controls.ToolWindow', AncestorLevel='1''. BindingExpression:Path=IsActive; DataItem=null; target element is 'Button' (Name='CloseButton'); target property is 'NoTarget' (type 'Object')
Thanks!
Hi cambrose,
We have been asked by engineering to log this as a bug. I'll create a case for you momentarily and will follow up with you there.
Thanks,Francis
Has this been resolved?
I'm still getting this. Also getting the same error for the property ShowTabHeaderCloseButton="True"
Using infragistics 2011.2 (InfragisticsWPF4.v11.2 - Runtime Version: v4.0.30319, Version: 11.2.20112.1012)
Thank you!
Running your sample I get the following:System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Infragistics.Windows.Controls.ToolWindow', AncestorLevel='1''. BindingExpression:Path=IsActive; DataItem=null; target element is 'Button' (Name='CloseButton'); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Infragistics.Windows.Controls.ToolWindow', AncestorLevel='1''. BindingExpression:Path=IsActive; DataItem=null; target element is 'Button' (Name='CloseButton'); target property is 'NoTarget' (type 'Object')System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Infragistics.Windows.Controls.ToolWindow', AncestorLevel='1''. BindingExpression:Path=IsActive; DataItem=null; target element is 'Button' (Name='CloseButton'); target property is 'NoTarget' (type 'Object')
Hello,
Please let me know about the environment you are working in so that I can try to reproduce the issue.
Sincerely,ValerieDeveloper Support Engineer Infragisticswww.infragistics.com/support
I was able to replicate the issue you are seeing, and I have asked our engineering staff to examine this further. To ensure that it will receive attention, I have logged this behavior in our internal tracking system with a Development ID of 105410. The next step will be for a developer to review my investigation and confirm my findings or to offer a fix, or other resolution. I will leave this case open and update you with this information after the review.
I will create a private case for you to notify of any changes to this issue.
Sincerely,
Valerie
Developer Support Engineer
Infragistics, Inc
www.infragistics.com/support
Has there been any development on this? I'm finding myself bit with it as well using 2011.1 under Windows 7 x64. Thank you!
Hello Collin,
This issue is currently still in development. I have created case CAS-90580-MVCNN3 for you and will link the case to the development issue so that you will be notified of any changes.