Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
585
ContentTab going blank whenever new tab is loaded
posted

Whenver I click on a tab that wasn't previously loaded, the content in the previous tab goes blank. This means that essentially only one tab is ever loaded. I think this is caused by wrapping the WebTab in an UpdatePanel, but without an UpdatePanel, the ContentTabItems don't resize the height automatically (you have to click away from the tab then click back once it is loaded for the height to display correctly).

This is using Async postbacks (has to stay like this), and having a button that triggers an async update on the Client side SelectedIndexChange event (this also has to stay the same). Any suggestions?

Parents
  • 16310
    Offline posted

    Hello Alex,

    If you are using LoadOnDemand then only the selected tab content will be fetched. If this is the case you can turn off the LoadOnDemand :

    <PostBackOptions EnableLoadOnDemand="False" />

    Please see if this is the case and try this suggestion.

Reply Children
No Data