Using AutoPostBack Checkboxes in a TabPanel


In ASP.NET 2.0 I am attempting to use Checkboxes with AutoPostBack set to true within TabPanels. Each time I click on a checkbox within a TabPanel it does a postback but resets the activepanel to the first TabPanel. According to the instructions it should stay on the current TabPanel. Is this a bug or is there a workaround?

I tried capturing the activepanel in the Checkbox change event and then resetting it on Postback, but it still loses the activepanel.
Closed May 15, 2015 at 12:36 PM by fadilmamedov
This ticket was filed for a pre-15.1 version of AJAX Control Toolkit. If this is still an issue in v15.1 or later, please create a new inquiry.


wrote Apr 27, 2007 at 11:19 PM

Ron - there were more questions on the forums around the selected tab not being preserved in client state across postbacks. Could you please look into this? Thanks.

UnmannedEmu9 wrote May 29, 2007 at 2:44 PM

Problem shows up with autopostback dropdowns as well. Furthermore, adding asp:button make the persistance work occasionally. My databound datagrid looses all rows on dropdown postback inside tab. The whole behavior is so weird and inconsistent a I will no use TabPanel this time.

Superexpert wrote Sep 30, 2011 at 6:03 PM

Can anyone please provide the sample code related to this issue? This will help us to figure out and fix the issue.