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
65
content refresh on client and server
posted

Hi, I have a WebTab control with two contenttabitems, each with the UserControlUrl property set. The WebTab's AutoPostBackFlag.SelectedIndexChanged is set to On.

When I change the active tab item, I see a strange behaviour: first, the client is updated (i.e. I see the newly selected tab content) and then comes the postback, that refreshes the tabitem content. This is very annoying, because in the server side event I load new data, so the user experience is very bad (the user clicks on the tab item, sees the old content, then - after the postback - the updated content).

I've tried with an updatepanel containing my webtab, but obiuvsly nothing changes.

What can I do?

Thanks

   Giovanni

Parents
No Data
Reply
  • 37874
    posted

    Hello Giovanni,

    You could try to set the UserControlUrl property on the server on SelectedIndexChanged or set AutoPostBackFlag.SelectedIndexChanged to Async.

    Let me know if this helps.

Children