title: Unable to use Xrm.Page.getControl to get an iframe
body: <p>After the upgrade from dynamics-crm 2011 to dynamics-crm 2013 I am having some issues trying to refresh an iframe.</p>
  
  <p>Previously and in the sdk Microsoft has to get a control/iframe use the "Xrm.Page.getControl()" or other posts say to use "Xrm.page.ui.controls.get()" below are the errors I am getting.<img src="https://i.stack.imgur.com/spDfM.png" alt="enter image description here"></p>
  
  <p>I have found a work around but my concern is that it is not supported. I use Jquery to first retrieve the iframe that is the record since it is no longer its own window. Then I search for the Name/Id of my web-resource/iframe.</p>
  
  <pre><code>$("#contentIFrame0").contents().find("#WebResource_PowerTools")[0].contentWindow.location.reload(true);
  </code></pre>
  
  <p>This works and is what I am using now. My question is does any one know what happened to the <code>Xrm.Page.getControl()</code> or <code>Xrm.page.ui.controls</code>?</p>