Hi to all,
I would like to perform a single task like showing or hiding a tab page at will.
I am using the following code inside a member function:
Dim tabController As TabController = New TabController()
Dim tabInfo As TabInfo = TabController.GetTab(PortalSettings.MyTabId, PortalSettings.PortalId, True)
tabInfo.IsVisible = False
but nothing happens (the tab is still visible).
Am I doing something wrong?
Is the problem with the local reference i am using to get a reference to the tab object, or the IsVisible (get/set) property just doesn't work, or is it something else?
Could a possible solution be, to update directly the database, instead of setting the IsVisible property?
tanx in advance