能打开窗体,但是去不出返回数据
buu
Response.Write( " <script language=javascript> var ret=new Array(2);ret=window.showModalDialog( '../treeview_ajlb.aspx ', '123 ', 'scroll:1;status:0;help:0;resizable:0 ');document.all.item( ' <%=TextBox_ajlbID.ClientID%> ').value = ret[0];document.all.item( ' <%=TextBox_ajlbMC.ClientID%> ').value = ret[1]; </script> ");
------解决方案--------------------可以在弹出窗体中这样返回值:
function Close(grid,args)
{
window.returnValue = "abc ";
window.close();
}