skip to main | skip to sidebar

CRM 2015 / CRM 2013 / CRM 2011 / CRM 4.0 and Asp.net

CRM 2015 / CRM 2013 / CRM 2011 / CRM 4.0 and Asp.net

Tuesday, July 28, 2015

Resize IFRAME to adjust – CRM 2015 / CRM 2013


In CRM 2015 / CRM 2013 you can resize ifram setting style by following way

  
var iframe = parent.Xrm.Page.ui.controls.get('WebResource_Address');
parent.Xrm.Page.ui.controls.get(
'WebResource_Name').getObject().style.height =
(iframe.getObject().contentWindow.document.body.offsetHeight) +'px';

Posted by Unknown at 9:16 AM

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Vikram Tupe

Unknown
View my complete profile

Blog Archive

  • ▼  2015 (10)
    • ►  August (2)
    • ▼  July (8)
      • Set CRM IFrame Url Dynamically to aspx page / Post...
      • Disable fields on CRM Form - CRM 2015/ 2013/ 2011
      • Refresh or Reload CRM IFRAME / Pass data to CRM IF...
      • Resize IFRAME to adjust – CRM 2015 / CRM 2013
      • Override/ Persist the Modified Date / Actual End ...
      • External Service call (Web access) from a CRM plug...
      • External Service call (Web access) from a CRM plug...
      • Dynamics CRM 2015 / 2013 /2011 – Multi Select Opti...
  • ►  2014 (1)
    • ►  February (1)
  • ►  2009 (20)
    • ►  October (4)
    • ►  September (1)
    • ►  July (11)
    • ►  June (4)
  • ►  2008 (3)
    • ►  July (1)
    • ►  June (2)
  • ►  2007 (6)
    • ►  December (6)