Hiding a tab from the user interface dynamically
问题 I have a page with a PXTab control and want to show or hide individual tabs on the page dynamically. How can I control visibility of tabs at runtime? 回答1: You can do it in one of the following two ways: By setting a VisibleExp property on PXTabItem in ASPX page By enabling/disabling AllowSelect property of the view that serves as a DataMember of the grid that is displayed on that tab Method 1 – VisibleExp In this method, you directly write the conditions under which the tab should be visible