Hi,
I don't think that problem is related with Ext.Net because I don't see any Ext.Net code in the following code
try { document.getElementById("extflashcmp1006").SetReturnValue(__flash__toXML(Ext.FlashEventProxy.onEvent("extflashcmp1006",({category:"info",message:"resize (width: 38122, height: 26248)",type:"log"}))) ); } catch (e) { document.getElementById("extflashcmp1006").SetReturnValue("<exception>" + e + "</exception>"); }
I made test sample but I don't see any exception
<%@ Page Language="C#" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>Row Layout - Ext.NET Examples</title>
<script type="text/javascript">
function panelLoaded() {
Portlet5.add(new Ext.chart.LineChart({ title: "Test",
id : "Chart1",
xtype: 'linechart',
store: dsGraphAccount,
yField: 'Amount',
url: 'charts.swf',
xField: 'Days',
chartStyle: {
lineColor: 0xB5BAC8,
lineAlpha: .5
},
xAxis: new Ext.chart.CategoryAxis({
title: 'Days'
}),
yAxis: new Ext.chart.NumericAxis({
title: 'Amount'
}),
chartStyle: {
legend: { display: 'none' },
dataTip: {
padding: 5,
border: { color: 0x99bbe8,
size: 1
},
background: { color: 0xDAE7F6,
alpha: .9
},
font: { name: 'Arial',
color: 0x15428B,
size: 10,
bold: true
}
}
},
extraStyle: { xAxis: {
color: '#99bbe8',
majorTicks: { color: 0x69aBc8, length: 4 },
minorTicks: { color: 0x69aBc8, length: 2 },
majorGridLines: { size: 1, color: 0xeeeeee },
labelRotation: -90
},
yAxis: {
color: '#99bbe8',
majorTicks: { color: 0x69aBc8, length: 4 },
minorTicks: { color: 0x69aBc8, length: 2 },
majorGridLines: { size: 1, color: 0xdfe8f6 }
}
},
series: [{
style: {
color: '#99bbe8',
image: '/ExtJS/dot.png',
mode: 'stretch'
}
}]
}));
Portlet5.doLayout();
}
</script>
</head>
<body>
<ext:ResourceManager ID="ResourceManager1" runat="server" />
<ext:Store ID="dsGraphAccount" runat="server">
<Reader>
<ext:JsonReader>
<Fields>
<ext:RecordField Name="Days" />
<ext:RecordField Name="Amount" />
</Fields>
</ext:JsonReader>
</Reader>
</ext:Store>
<ext:Panel runat="server" ID="Portlet5" Height="300">
<Listeners>
<AfterRender Fn="panelLoaded" />
</Listeners>
<Buttons>
<ext:Button runat="server" Text="Click">
<Listeners>
<Click Handler='document.getElementById("Chart1").SetReturnValue(__flash__toXML(Ext.FlashEventProxy.onEvent("Chart1",({category:"info",message:"resize (width: 38122, height: 26248)",type:"log"}))) );' />
</Listeners>
</ext:Button>
</Buttons>
</ext:Panel>
</body>
</html>