System.Text.StringBuilder strReloadData = new System.Text.StringBuilder();
strReloadData.Append("try{window.returnValue ='Y'; window.opener = null;window.close();}catch(ex){ }");
ClientScript.RegisterStartupScript(this.GetType(), "", strReloadData.ToString(), true);
// 獲取模式窗口父頁面的Html控件
function getObjD(id)
{
if (!id)
{
return null;
}
return window.dialogArguments.document.getElementById(id);
}