brendensmith Posted May 27, 2008 Report Share Posted May 27, 2008 I have a ChartFX7 chart in a Ajax updatepanel version 2.0 and .net 3.5 no matter what I do the chart is invisible. If I remove the updatepanel it works fine, with the updatepanel the chart is invisible but a grid right next to the chart diplays correctly. <asp:UpdatePanel id="up1" UpdateMode="Conditional" Runat="server"> <Triggers> <asp:AsyncPostBackTrigger ControlID="btRefresh" EventName="Click" /> </Triggers> <ContentTemplate> <center> < chartfx7:Chart ID="Chart1" runat="server" RenderFormat="Auto" Height="500px" Width="800px" Visible="true" EnableViewState="False"><LegendBox Dock="Bottom"> </LegendBox> <Series> <chartfx7:SeriesAttributes /> <chartfx7:SeriesAttributes /> <chartfx7:SeriesAttributes /> </Series> <AxisX ForceZero="False"> </AxisX> </chartfx7:Chart> <asp:Image ID="ImageDown" runat="server" Visible="false" ImageUrl="~/Images/AG00090_.GIF" AlternateText="" /> < chartfx7:Chart ID="Chart2" runat="server" Visible="false" RenderFormat="Auto" Height="500px" Width="800px"><LegendBox Dock="Bottom"> </LegendBox> <SpecialObjects> <chartfxadornments:ImageBorder AssemblyName="ChartFX.WebForms.Adornments" Color="109, 125, 138" /> </SpecialObjects> <Series> <chartfx7:SeriesAttributes></chartfx7:SeriesAttributes> <chartfx7:SeriesAttributes></chartfx7:SeriesAttributes> <chartfx7:SeriesAttributes></chartfx7:SeriesAttributes> </Series> </ chartfx7:Chart><asp:GridView ID="gvTableDisplay" runat="server" HeaderStyle-CssClass="staticLink_GridViewHead" AutoGenerateColumns="False" onrowcreated="gvTableDisplay_RowCreated"> <Columns> <asp:TemplateField HeaderText="Process Date" > <ItemTemplate> <asp:Label ID="Label1" runat="server" Width="200" Text='<%#Eval("TIME_PHASE_DATE") %>'></asp:Label> </ItemTemplate> </asp:TemplateField> <asp:TemplateField HeaderText="Transactions" > <ItemTemplate> <asp:Label ID="Label1" runat="server" Width="150" Text='<%#Eval("TRANSACTIONS") %>'></asp:Label> </ItemTemplate> </asp:TemplateField> <asp:TemplateField HeaderText="Avg Transactions" > <ItemTemplate> <asp:Label ID="Label1" runat="server" Width="150" Text='<%#Eval("Average") %>'></asp:Label> </ItemTemplate> </asp:TemplateField> </Columns> </asp:GridView> </center> </ ContentTemplate></ asp:UpdatePanel> Quote Link to comment Share on other sites More sharing options...
Frank Posted May 27, 2008 Report Share Posted May 27, 2008 Try changing the RenderFormat to Image. I know that the Update panel doesn't support ActiveX controls (<OBJECT>). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.