The right way to show a cross-browser modal dialog in MS CRM (2011 / 2013) RRS feed

  • Question

  • Hi to everyone,

    is there a fully supported way to pop up a "real" cross-browser modal dialog on Microsoft Dynamics CRM 2011 / 2013 entity forms?

    At least IE9+, Chrome and Firefox should be supported.


    • window.showModalDialog: is supported, but works only in IE and Firefox. No way to make it work on Chrome
    • custom html-based modal dialogs: they work, but that solution requires to inject custom HTML into the page, and that is not supported.

    It will be great to have, at least in 2013, the possibility to popup a modal dialog just like the standard modal dialogs of CRM (e.g. lookup) via js...

    All advices are appreciated!


    Thursday, January 16, 2014 6:25 PM

All replies

  • Hi,

    Currently there is no supported way of doing this - other than using window.open or window.showModalDialog (which will work in chrome but just not be modal). 

    I wouldn't recommend using a jQuery style modal dialog simply because this is too invasive on the form and very likely to break stuff! 

    Not much help I know - but just confirming your suspicions I guess!


    Scott Durow
    Blog www.develop1.net    Follow Me
    If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"

    Friday, January 17, 2014 1:25 PM