Call Modal Dialog point to another site in other web application

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):

  1. The dialog box has not auto resize
  2. Close button not work, after click it, no any response
  3. After edit and save item, blank page in dialog, the dialog has not auto close.
  4. 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!!

April 16th, 2012 11:38am

Hi LamLin,

1
Please check that if your current user has sufficient permissions to access the "site2".
2
Check javascrpt conflict or errors: Open Internet Explorer Browser(IE)->Internet Options->Advanced->Uncheck the both of the "disable script debugging" options. Then use IE to open it. If the page has script error, it will automatically pop up the error details. Please use IE developer tools to debug the javascript, and solve it.

How to use IE developer tools:
http://msdn.microsoft.com/en-us/library/dd565625(v=vs.85).aspx

Thanks,
Lhan Han

Free Windows Admin Tool Kit Click here and download it now
April 18th, 2012 10:58am

Having the same problem. Did you finally resolve this?
August 31st, 2015 5:18pm

I am striking out on this. Did you have any luck?
Free Windows Admin Tool Kit Click here and download it now
August 31st, 2015 8:20pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics