Hi, all.
I want to use UltraTabControl with style UltraTabControlStyle.Wizard . I tried to analyse this ability. I put control with style UltraTabControlStyle.Wizard to my form, added 3 tabs. But I dont see the "next/previous" button. Should I add these button myself or there is some propreties that need to be setuped to achieve this functionality?How should I switch between tabs? I tried to find the samples related with UltraTabControlStyle.Wizard in Online Help but i do not find anything. Could you provide me with samples?
Thanks in advance.
Hi,
SelectNextTab works very well in my case except one issue that when the last page is the active one, calling SelectNaxtTab again will bring the active page back to the very first page.
Any way to stop it happening?
I guess I can program a conditional check if (ActiveTab == Tabs["last page"]), but I wonder if there's any build in feature I can use straightaway.
Thanks.
Jun
With the Wizard style tab control, you must implement your own next and previous buttons. The event handlers of these buttons can call these methods:
this.ultraTabControl1.PerformAction(Infragistics.Win.UltraWinTabControl.UltraTabControlAction.SelectNextTab);
this.ultraTabControl1.PerformAction(Infragistics.Win.UltraWinTabControl.UltraTabControlAction.SelectPreviousTab);
to select the nex or previous tabs, respectively. I would recommend adding these buttons to the shared controls page so they appear on each page of the wizard.