I have a tab strip with 4 tabs. I am wondering if there is a way to dictate which tabs are enabled or disabled, based upon a Client Tag called “MemberType”. For instance, if the user is “type” 1, then tabs 1,2 and 3 should be enabled. However, if he is “type” 2, then tabs 1,2, and 4 should be enabled.
I came up with a workaround that uses rectangles colored like the background that cover the tabs. The UserType tag controls whether the rectangles are hidden (thus, the tabs are visible) or visible (the rectangle blocks view of the tab). Clicking on a hidden tab still fired the SwapTo navigation event, so I had to make the rectangles navigate to the current page to make it appear like nothing happened.
I am interested if something more elegant can be done.