protected void btnSendSample_Click(object sender, EventArgs e)
{
ClientScriptManager csm = Page.ClientScript;
Type cstype = this.GetType();
if (!csm.IsStartupScriptRegistered(cstype, "OpenNewWin"))
{
//string ID = gvHistory.DataKeys[Int32.Parse(e.CommandArgument.ToString())].Value.ToString(); //"12";//DataKeys[e.RowIndex].Value.ToString();
String cstext1 = "OpenNewWin(" + strID + ")";
csm.RegisterStartupScript(cstype, "OpenNewWin", cstext1, true);
} 如何让下面的代码在关闭对话匡后执行?
bindHistory(strID);
}
{
ClientScriptManager csm = Page.ClientScript;
Type cstype = this.GetType();
if (!csm.IsStartupScriptRegistered(cstype, "OpenNewWin"))
{
//string ID = gvHistory.DataKeys[Int32.Parse(e.CommandArgument.ToString())].Value.ToString(); //"12";//DataKeys[e.RowIndex].Value.ToString();
String cstext1 = "OpenNewWin(" + strID + ")";
csm.RegisterStartupScript(cstype, "OpenNewWin", cstext1, true);
} 如何让下面的代码在关闭对话匡后执行?
bindHistory(strID);
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货