Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Commented Issue: TabPanel Visible=false causes other tab panels to show mixed content when setting ActiveTabIndex [16321]

$
0
0
The tab control does not correctly display an individual tabs contents when some of the tabs are not visible and the active tab index is set... Basically, the correct tab (x) gets displayed but content from tab x-n is also displayed where n is the number of tabs that are not visible... Attached is a simple example that displays this problem... In this example, tab 2 has visible=false... If you click the 'Go to Codeplex' linkbutton in tab 6 and then click the back button, the contents of (both) tabs 5 and 6 are displayed. Similarly, if you click the 'Go to Codeplex' linkbutton in tab 4, which has its click event undefined, the contents of (both) tabs 3 and 4 are displayed. If you set another tab to visible=false, then you see the display of the contents for the 'active tab and the x-n tab' behavior (where x is the active tab and n is the number of tabs with visible=false)... -Scott.

P.S. this may have been discussed before in other reported issues but I did not see one that contained a clear example.

Environment=Visual Studio 2008,IE7,AJAX Control Toolkit 20229
Comments: Such an old work item, but I cannot find other explanations. I recently updatet toolkit version from 30930 (Sep 2009) to 7.1213 (Dec 2013) on a project containing a complex implementation of TabContainer (with the old toolkit version the page was working fine at all). With new version, symptoms are exactly the same reported here, so I wrote down a very simple page to exclude every possible interference and isolate TabContainer. Just taken an empty page and put a simple TabContainer in it. Setting on PageLoad one of the Tabs not visible (with Tab.Visibible = False), caused TabContainer to behave like described above. Workarounds supplied don't work. Problem is showing both with (partial postback) and withput (full postback) UpdatePanel on page. Is it possible that this exact issue came back on current release? Target Framework 3.5, IIS 7.5 on Windows 7

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>