PDA

View Full Version : [CLOSED] Tabpanel: hide tab from codebehind



haltenberg
Jun 11, 2008, 1:33 PM
I have a tabpanel inside asp:UpdatePanel and during asynch postback, depending on some logic, I am trying to hide one of the tabs. However, Tab.Hide() doesn't hide anything. Tab.Disable() works as expected, but not .Hide(). Any clues?
Thank you!

Update: Never mind... Found a workaround. Instead of trying to Tab.Hide(), used TabPanel.HideTabStripItem("Tab") and it worked.