I have a WebTab control with two Tabs. Each tab has a ContentTabItem that contains a number of controls, such as textboxes.
I need to be able to hide one of the tabs on Page-load depending on values returned from the database. I have tried using the Hidden property so that one tab is hidden and the other is not, however, despite extensive testing I am not able to make the webtab behave as I want. I have tried setting EnableLoad OnDemand but that does not resolve the issue.
What happens is that the first tab plus its ContenttabItem display ok, but when I try to look at the second tab only, the tab page is visible but the ContenttabItem is not.
can anyone help?