Jump to content
Software FX Community

CharFX in Updatepanel is always invisible


brendensmith
 Share

Recommended Posts

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>
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...