Just upgraded from Q2 2009 to Q3 2009(.net35) and I get this error now when I try to execute a javascript in another pane. This works in Q2 2009. In IE7, the error is Object doesn't support this property or function. Similar error in FF. I have two versions of the script should work. This script is called from the pane OnclientResized event like so(OnClientResized="LeftResize"). Here are the scripts:
function LeftResize()
{
var splitter = $find("<%= NestedSplitter.ClientID %>");
var pane = splitter.getPaneById("<%= lframe.ClientID %>");
var myiframe = pane.getExtContentElement();
var mycontentWindow = myiframe.contentWindow;
try {
mycontentWindow.SizeMe();
}
catch (e) {
alert('Error calling content resize. Please report this error to Network Automation. Error is: ' + e.message);
}
}
function LeftResizeV2() {
var pane = $find("<%= lframe.ClientID %>");
pane.getExtContentElement().contentWindow.SizeMe();
}
they will call this js on the target page in Q2:
function SizeMe()
{
}
function LeftResize()
{
var splitter = $find("<%= NestedSplitter.ClientID %>");
var pane = splitter.getPaneById("<%= lframe.ClientID %>");
var myiframe = pane.getExtContentElement();
var mycontentWindow = myiframe.contentWindow;
try {
mycontentWindow.SizeMe();
}
catch (e) {
alert('Error calling content resize. Please report this error to Network Automation. Error is: ' + e.message);
}
}
function LeftResizeV2() {
var pane = $find("<%= lframe.ClientID %>");
pane.getExtContentElement().contentWindow.SizeMe();
}
they will call this js on the target page in Q2:
function SizeMe()
{
}