StringBuilder sb = new StringBuilder();
sb.Append("<script type='text/javascript'>");
sb.Append(@"$(function () {$('#tabs').tabs({active:" + activeTabIndex + "});});"); //设置第二个标签页为激活状态
sb.Append("</script>");
ClientScript.RegisterStartupScript(this.GetType(), "SetActiveTab", sb.ToString());