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
120
Want selecting tab to do Postback
posted


I have a tab control with 5 tabs each of which has a user control.  I currently have the tabs loading on demand, but the problem is that the common use case has the user browsing to another page, and then back to this page.  When the user browses to another page and then back, it goes to the default view of the first tab (not the tab the user browsed from).

The only solution I can think of is to turn off load-on-demand, but I don't want to load all the tabs content on initial page load.  Is there a way to force a postback on selecting a tab so I could load the user control "on demand" but still have synchronous behaviour?