MOSS2010中,自定义列表的 呈现/修改/新增 表单控件时,用以下脚本可以关闭当前弹出窗体。

protected void btn1_Click(object sender, EventArgs e)
{          

   Page.ClientScript.RegisterStartupScript(this.GetType(), "test""window.frameElement.commonModalDialogClose(1,''); "true);

} 


相关文章: