Hi everybody,
i work with visual studio 2005 and infragistic NetAdvantage 2006 Volume 2 CLR 2.0
i 'm new with infragistic :-) and i have a page with a ultraTab
in this page i have 4 tabs, each tab is load a user control.
My question is, i d like to know when a user click on a step i d like to know where the user were !
sample:
The page opens on a step 4, and a user decide to fill some information in this step and decide to click on the step 2 i 'd like to know if the user COMES to the step 4 BECAUSE before to load the other step (1, 2 ,3 ) we must to save information
thanks for your time
christophe
Hi victor;
that exactly what i want ...
Perfect ...excellent and you give me a response very fast for my problem !
thanks for all
Christophe
Hi Christophe,
I assume that under "step" you mean "tab" and you want to find which tab was selected. You may check currently selected tab at any time using UltraWebTab.SelectedTab/SelectedTabObject/SelectedTabIndex.
To ensure that any tabchange triggers postback, you may set AutoPostBack=true.
You also may process TabClick event and find old and new selected tabs.
protected void UltraWebTab1_TabClick(object sender, Infragistics.WebUI.UltraWebTab.WebTabEvent e){ int newTabIndex = ((Infragistics.WebUI.UltraWebTab.UltraWebTab)sender).Tabs.GetTabIndex(e.Tab); int oldTabIndex = ((Infragistics.WebUI.UltraWebTab.UltraWebTab)sender).Tabs.GetTabIndex(e.PreviousSelectedTab);}