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
205
UltraTab.Selected property problem
posted

Hi,

We declare couple UltraTabPageControl variables as shown below:

private UltraTabPageControl ultraTabPageDetail;

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.