Hi,
We declare couple UltraTabPageControl variables as shown below:
private UltraTabPageControl ultraTabPageDetail;
private UltraTabPageControl ultraTabPageModify;
...
However, intermittently the code crashes when we set the Selected property to true like the following:
this.ultraTabPageDetail.Tab.Selected = true;
and here is the stack trace:
[6:14:19 PM(IniTabContents)][Source --> Infragistics4.Win.UltraWinTabControl.v11.2] TargetSite -->Void OnManagerSelectedTabItemChanged(System.Object, SelectedTabItemChangedEventArgs)StackTrace --> at Infragistics.Win.UltraWinTabControl.UltraTabControlBase.OnManagerSelectedTabItemChanged(Object sender, SelectedTabItemChangedEventArgs e) at Infragistics.Win.UltraWinTabs.TabManager.set_SelectedTabItem(ITabItem value) at Infragistics.Win.UltraWinTabControl.UltraTabControlBase.SetSelectedTab(UltraTab tab) at Infragistics.Win.UltraWinTabControl.UltraTabControlBase.set_SelectedTab(UltraTab value) at Infragistics.Win.UltraWinTabControl.UltraTab.set_Selected(Boolean value) at Eclipsys.SunriseXA.ClinDoc.DocReview.UI.DocDetailsMain.InitTabContents()
Any ideas what would have caused the problem to occur? Thanks.
Hello,
I am just checking about the progress of this issue. Let me know If you need my further assistance on this matter?
Thank you for using Infragistics Components.
The issue has been resolved. It turned out our code was trying to re-use the ultratab that has been disposed. Thanks for your time anyway.
James