PDA

View Full Version : [CLOSED] Issue Loading IFrame in Panel



RCM
Jul 18, 2012, 12:45 AM
Hi,

I am attempting to load a aspx page that contains a view port into an iframe of panel(MainContentPanel) but the page is being loaded into new browser tab as well as in the panel. using the code below:


App.MainContentPanel.load(
{
showMask: false,
url: "controller/action",
disableCaching: true,
mode: "frame",
passParentSize: config.passParentSize,
params: config.data,
scripts: "false"
}
);


Please let me know what I might be doing wrong.

Daniil
Jul 18, 2012, 6:59 AM
Hi,

Please replace

mode : "frame"
with

renderer : "frame"