Show modal dialog form from another site collection

Show modal dialog form from another site collection

Ever get an error message saying “Refused to display ‘url’ in a frame because it set ‘X-Frame-Options’ to ‘SAMEORIGIN‘.” when trying to load a list form from another site collection in a modal dialog?  Add this to a line right after the last <% Register tag on the masterpage:

<WebPartPages:AllowFraming runat="server" />
Comments are closed.
%d bloggers like this: