Tuesday, October 20, 2009

showModalDialog and postbacks in custom aspx pages in Microsoft Dynamics CRM 4.0

I've developed a custom aspx dialogue page. It has button with postback and when this button is clicked - action is executed but new window is opened. Solution for this case is to add <base target="_self"/> tag under head tag.


  1. Hi Andriy,

    I now experience this issue in CRM 2011, but this solution doesn't seem to work.

    Would you be able to advice this same issue in CRM 2011?

  2. Hello,
    I am sorry, but I have seen your message only now. Answer - Uncheck "Restrict cross-frame scripting" checkbox.