In CreateControlStyle and AddAttributesToRender, CssClass is hardcoded to "ajax__tab_xp". Suggest replacing with:
...
protected override Style CreateControlStyle()
{
TabContainerStyle style = new TabContainerStyle(ViewState);
style.CssClass = CssClass;
return style;
}
//...
protected override void AddAttributesToRender(HtmlTextWriter writer)
{
Style.Remove(HtmlTextWriterStyle.Visibility);
if (!ControlStyleCreated)
writer.AddAttribute(HtmlTextWriterAttribute.Class, CssClass);
if (_useVerticalStripPlacement)
writer.AddStyleAttribute(HtmlTextWriterStyle.Display, "block");
if (!Height.IsEmpty && Height.Type == UnitType.Percentage)
writer.AddStyleAttribute(HtmlTextWriterStyle.Height, Height.ToString());
base.AddAttributesToRender(writer);
writer.AddStyleAttribute(HtmlTextWriterStyle.Visibility, "hidden");
}
...
...
protected override Style CreateControlStyle()
{
TabContainerStyle style = new TabContainerStyle(ViewState);
style.CssClass = CssClass;
return style;
}
//...
protected override void AddAttributesToRender(HtmlTextWriter writer)
{
Style.Remove(HtmlTextWriterStyle.Visibility);
if (!ControlStyleCreated)
writer.AddAttribute(HtmlTextWriterAttribute.Class, CssClass);
if (_useVerticalStripPlacement)
writer.AddStyleAttribute(HtmlTextWriterStyle.Display, "block");
if (!Height.IsEmpty && Height.Type == UnitType.Percentage)
writer.AddStyleAttribute(HtmlTextWriterStyle.Height, Height.ToString());
base.AddAttributesToRender(writer);
writer.AddStyleAttribute(HtmlTextWriterStyle.Visibility, "hidden");
}
...