<SCRIPT type="text/javascript" language=javascript>
function OpenNewWindow(id)
{
try {
window.openModalDlg("KeChengBanDetails.aspx?id="+id,410,337);
}
catch(e)
{
location.reload(true);
}
}
</SCRIPT>
在DataGrid中的<asp:ButtonColumn Text="详细信息" HeaderText="查看信息" CommandName="btnview" > </asp:ButtonColumn>,当点击DataGrid的ButtonColumn时,如何调用前台javascript的OpenNewWindow(id)函数弹出一个新窗口?
function OpenNewWindow(id)
{
try {
window.openModalDlg("KeChengBanDetails.aspx?id="+id,410,337);
}
catch(e)
{
location.reload(true);
}
}
</SCRIPT>
在DataGrid中的<asp:ButtonColumn Text="详细信息" HeaderText="查看信息" CommandName="btnview" > </asp:ButtonColumn>,当点击DataGrid的ButtonColumn时,如何调用前台javascript的OpenNewWindow(id)函数弹出一个新窗口?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货