急!~!~!第二贴求助
用Page.RegisterStartupScript( "12 ", " <script> showModalDialog( ' "+url+ " ', ' ', 'dialogWidth:450px;dialogheight:210px;center:yes;status:no;scroll:no; ') </script> ");打开模式对话框怎么样实现在它关闭时刷新主页面的数据(DataGrid)....能调主页面的Load事件也行........
[解决办法]
</script> ");==> ;window.location.href= window.location.href </script> ");或document.getElementById( "Button1 ").click(); </script> ");
[解决办法]
UP
[解决办法]
在打开的ModalDialog的关闭事件中写:
window.opener.location.href = window.opener.location.href