Unanswered Cross web application Modal dialog

  • Tuesday, June 15, 2010 2:53 PM
     
     

    Hi All,

    I developed a user control that is used in a SharePoint context with a link that by JavaScript open a modal dialog (SP.UI.ModalDialog.showModalDialog).

     

    This is an example of the code:

    <td>

                <span>

    <a href="javascript:SP.UI.ModalDialog.showModalDialog({ url:'http://intranet.contoso.com/Pages/Netiquette.aspx', width:800, height:600 });void(0)">Netiquette</a>

    </span>

    </td>

     

    This Modal Dialog will show a page that belongs to a specific web application.

     

    If I use this control in a page of this web application all works fine otherwise if I put this control in a page that doesn’t belong to this web application I have a strange behavior (The title of the modal dialog is “Dialog” and not “Netiquette” and the render of the page is incorrect) even if the user has the right permission to access this page.

     

    Thanks for your help.

     

    Kind regards,

     

    Alessandra

    • Edited by Mike Walsh FIN Tuesday, June 15, 2010 6:26 PM [Sharepoint] in a Title is pointless. Removed.
    • Moved by Mike Walsh FIN Tuesday, June 15, 2010 6:27 PM Programming q (From:SharePoint - Collaboration (pre-SharePoint 2010))
    • Moved by Aaron Han - MSFT Thursday, June 17, 2010 7:57 AM (From:SharePoint - Development and Programming (pre-SharePoint 2010))
    •  

All Replies