前台js:
![](https://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif)
Code
function changetab(tabnum) { // bind click event to link
var $tabs = $('#tabs > ul').tabs(); // first tab selected
$tabs.tabs('select', tabnum); // switch to third tab
return false;
};后台调用:
ScriptManager.RegisterStartupScript(this.Page, typeof(Page), "", "<script type=\"text/javascript\">changetab(1)</script>",false);