Dynamics CRM では、iframe の高さをプログラムでどのように設定しますか? 次の関数は何もしません。iframe は常に同じサイズになります。iframe プロパティに移動して行番号を変更しても、サイズは変わりません。
function doOnLoad(sender, args) {
setIframeHeight();
}
function setIframeHeight() {
//lowest control in iframe
var element = $('btnInsert');
//the following line gets called, and what's displayed is 25
alert(window.parent.parent.frames[0].document.getElementById('IFRAME_TransactionProduct_RA_d').parentNode.height);
//the following line doesn't do anything
window.parent.parent.frames[0].document.getElementById('IFRAME_TransactionProduct_RA_d').parentNode.height = 5000000;
}