Hello,
I have some javascript code that adds controls to my webdialogwindow. I can also set it's height programatically like so:
document.getElementById('incMyControl_webDialog1').style.pixelHeight =
document.getElementById('incMyControl_webDialog1').style.pixelHeight + 25;
The only problem is that my contentarea or template, not sure which isn't resizing and I'm not sure how to resize it. The bit that isn't resizing's id is :1967156794.7:mkr:11 and it's class is igdw_BodyContentArea.
-Eric
Hi Eric,
Changes to DOM objects are not supported by WebDialogWindow. If you want to modify properties of control, then you should use public member functions of WebDialogWindow javascript object. To change size, you may try set_width(value), set_height(value), setSize(width, height) members.