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
210
When making UltraTab hidden the Tab Control has erratic behavoir
posted

I have an UltraTabControl.

The developer hides tabs based on some application data.

I select the 3rd tab and change data then save. Works fine. I save a reference to the tab

UltraTab

 

selectedTab = ultraTabControl1.SelectedTab;

I call the method again. Shows all tabs then disables and sets Visible=false to tabs that shouldn't be show.

I select the 3rd tab since it was the tab the user is currently on through code.

ultraTabControl1.ActiveTab = selectedTab;

 

The 3rd tab is selected, but the Panel that belongs to the 1st tab is on is shown. I can click on any tab except the 1st and it won't change the tab panel.

I click the first tab and the ultratabcontrol beigns to function correctly again, but switch to the correct panel.

I tried to place BeginUpdate and EndUpdate to force a refresh.

Is there a way to re-sync the tabs after they are toggled with enabled/visisble?

 Note:

I hooked to the SelectedTabChanged event also and it fires each time

Any ideas are appreciated.

Thanks,

Nick

Parents Reply Children
No Data