protected override void WriteHtml(HtmlTextWriter writer) { var html = new MobileButtonGroupHtmlBuilder(this).Build(); html.WriteTo(writer); //prevent rendering empty script tag //base.WriteHtml(writer); }