locked
Programming Web Page to Resize to Iframe RRS feed

  • Question

  • We are using a Dynamics CRM iframe web resource.

    Is there any ways to communicate between the iframe and the data inside it so that the data inside it resizes to fit the frame, that works with Dynamics crm?

    There are workaround for iframes but if there is a recommended solution in CRM based on past experience, I will try that first.
    Wednesday, June 19, 2013 2:20 PM

All replies

  • Hi,

    You can achieve this by passing query string to the web page 

    IFrame.setSrc("http://MyServer/test/MyWebPage.aspx?width=450&height:500";);

    In web page read the query string values and set the height and width of the form

    Regards,

    J Sampath Kumar,

    Osmosys.

    Wednesday, June 19, 2013 7:25 PM