Monday, May 11, 2009

Making an AJAX TabPanel really invisible

If you want to make a TabPanel invisible using the ASP.NET AJAX
TOOLKIT then it seems you have to make the header text invisible too.
I did this using:

if (!viewedPreferences.ShowHealthInProfile)
{
TabPanelHealth.Visible = viewedPreferences.ShowHealthInProfile;
TabPanelHealth.HeaderText = string.Empty;
}

No comments:

Post a Comment