AJAX TabPanel and HeaderTemplate Visibility

I had a setup where I had an ajax tab panel, with a HeaderTemplate set with a label inside.  This label was there as a placeholder using an expression statement (<%$ %>).  What I found out though is that I had a label control inside the header template that, for whatever reason, still shows whenever you set TabPanel.Visible = false.  So, when setting the tab panel to false, it hides the nice tabbed image background, but keeps showing the label inside the tabs!

So, when changing the visibility of the tab, I also had to change the visibility of the inner header template label.  This seems weird, but hey whatever gets it to work is fine with me.

 

Published Wednesday, March 26, 2008 4:43 AM by bmains
Filed under:

Comments

# statement

Wednesday, March 26, 2008 5:56 AM by statement

Pingback from  statement

The leading UI suite for ASP.NET - Telerik radControls
Outstanding performance. Full ASP.NET AJAX support. Nearly codeless development.