Sep 22, 2011, 8:53 AM
[CLOSED] Panel: Is it possible to identify the width/height in pixel from parent container with autosize?
I suppose this has been asked before but I am not sure what keyword to search for.
Anyway, my code is:
Thanks, J
Anyway, my code is:
<ext:ColumnLayout ID="ColumnLayout1" runat="server" FitHeight="true">
<Columns>
<ext:LayoutColumn ColumnWidth="1">
<ext:Panel ID="Panel1" runat="server" Border="false">
<Content>
<asp:Chart ID="Chart1" runat="server" Height="300px" Width="600px" EnableViewState="true"></asp:Chart>
</Content>
</ext:Panel>
</ext:LayoutColumn>
</Columns>
</ext:ColumnLayout>
My goal is to resize the Chart so that it will be the same as the size of the panel encapsulating it. But since the panel is autofit, the width and height is zero. Is it possible to capture the size in pixel of the panel and pass it on to the chart?Thanks, J
Last edited by geoffrey.mcgill; Sep 28, 2011 at 3:54 AM.
Reason: [CLOSED]