SharePoint 2010 使用SP.UI.ModalDialog.showModalDialog(options)对话框框架传值
如图,主页面叫BasePage.aspx,被弹出的页面叫popupForm.aspx,弹出窗口的代码是:
var options = {url: ‘popupForm.aspx’,args: null,title: ‘Select Value’,dialogReturnValueCallback: dialogCallback};SP.UI.ModalDialog.showModalDial