I have a related thread in the General Discussion forum, but this is a more specific problem:
When you modify the My Portal demo to create a dynamic dock + user control upon the changing of a tab (rather than upon a button click), the tabs no longer function correctly from a UI standpoint. Clicking the tabs does fire the right trigger and cause the creation of a dock+user control. However, the tabs don't change (the default tab is always shown), and the associated PageViews don't change either (the default pageview is always shown). Here is the hidden DIV code from the demo, modified for a tab strip:
<div class="hidden"> |
<!-- Hidden UpdatePanel, which is used to receive the new dock controls. |
We move the new dock controls to the desired initial dock zone using script. --> |
<asp:UpdatePanel runat="server" ID="updatePanel"> |
<Triggers> |
<asp:AsyncPostBackTrigger ControlID="mainTabStrip" EventName="TabClick" /> |
</Triggers> |
</asp:UpdatePanel> |
</div> |
I suspect that the asynchronous postback trigger is causing the issue. Any ideas on how to fix the problem?