后台(前台有ScriptManager控件)
ScriptManager.RegisterClientScriptBlock(this.UpdatePanel1, this.GetType(), "xxtx", "xun('"+ tb_lsjl.table +"','"+bh5+"','"+rwdh+ "');", true);
前台JS方法 function xun(table,bh5,rwdh) { var table = arguments[0]; var bh5 = arguments[1]; var rwdh = arguments[2]; layer.open({ type: 2, title: ['详细信息', 'background:url(images/title_backgroud.png) repeat-x;color:white; height:35px; '], shadeClose: false, shade: 0.5, area: ['748px', '442px'], content: ['dchdXxxx.aspx?table='+table+'&bh5='+bh5+'&rwdh='+rwdh, 'no'], //iframe的url end: function () { } }); }