framework2.0:
Manager.RegisterStartup(UpdatePanel1, UpdatePanel1.GetType(), "", "alert('提示:产品添加成功!');if(confirm('是否继续添加?取消转到产品管理页')){alert('本页面继续添加')}else{open('productManage.aspx','_self');}", true);
3.5以上
ScriptManager.RegisterStartupScript(UpdatePanel1, UpdatePanel1.GetType(), "", "jQuery('#trShipService').hide();", true);