locked
Two HTTP requests are sent instead of one RRS feed

  • Question

  • Hello there,

    I have a weird problem with my IFRAME. It has a required default url which I subsequently change in the form script:

      Xrm.Page.getControl("MyFrame").setSrc(url); This script runs at onload event of the form.

    What happens is that two http requests are sent: the first with the correct, updated url gets aborted and the second is sent from IFrame with the default url which either does nothing (if I use a blank .gif as a default) or fails if I sent the real request without parameters.

    How can I fix that? Ideally I would like to send one request and suppress the second one, or if it's not possible, change their order so that the bad one would get first and get aborted.

    I am very new to CRM but I suspect the reason for this behavior is somehow caused by an aschyncronous loading of iFrame?

    Any help will be greatly appreciated.

    Friday, October 11, 2013 1:51 PM