Hi all,
I am using the SP.UI class the call to model dialog, and I success to show a List Item or external site / web page.
However, when I point it into another site in other web application, I got following problems (even the dialog can be show and display the list item):
- The dialog box has not auto resize
- Close button not work, after click it, no any response
- After edit and save item, blank page in dialog, the dialog has not auto close.
- Dialog title: "Dialog", it should be same the item title.
I am using the follow js (just simple add into quick launch and can simulate the problem)
JavaScript:var options=SP.UI.$create_DialogOptions();options.url='http://site2/Lists/List1/DispForm.aspx?ID=1&IsDlg=1';void(SP.UI.ModalDialog.showModalDialog(options));
Any suggestion about this issue?
Thanks!!