Flyinsky

志在四方,浪迹天涯

导航

window.showModalDialog

In Asp.NET , when we want to create a modal dialog box we can use the javascript like

vReturnValue = window.showModalDialog(sURL [, vArguments] [, sFeatures])
Detail in MSDN.
But there is a problem,if we have to post to server in modal dialog box , you can find
another window will be opened and an error box will be shown.
To resolve it we can use FRAMESET , that's to say we create a aspx file include FRAMESET
in which link to the page we want to show in modal dialog box.





















posted on 2004-08-17 20:18  flyinsky  阅读(1026)  评论(0编辑  收藏  举报