daade Report post Posted May 21, 2011 Hi All; I'm a bit new on FusionCharts and AJAX. I'm trying to write a program that must show some PieCharts in every 10 seconds.. Showing the specific charts works fine, but after implementing on updatepanel, it began to not to be shown.. There is nothing on the page, it is blank.. Could you please tell where I'm missing. Design page code is below <div class="celldiv" id="chartdiv1" style="padding-top: 10px; width: 548px; height: 305px;"> <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="false"> <ContentTemplate> <!--Here is, where the chart have to be shown--> </ContentTemplate> </asp:UpdatePanel></div> here is the timer tick procedure that should update the UpdatePanel private void timer2_Tick(object sender, System.Timers.ElapsedEventArgs e) { GlobalClass.GlobalVar += 1; count = Convert.ToInt32(GlobalClass.GlobalVar); UpdatePanel1.ContentTemplateContainer.Controls.Clear(); UpdatePanel1.ContentTemplateContainer.Controls.Add(new LiteralControl(CreatePieChart(count))); } and createPieChart procedure is.. protected string CreatePieChart(int il) { string ilinAdi = ilAdGetir(il); string path = "http://localhost:2488/Data/" + ilinAdi + "Pie.xml"; return FusionCharts.RenderChartHTML("FusionCharts/Pie3D.swf",path, "", ilinAdi+"Pie", "548", "305", false); } Share this post Link to post Share on other sites
FusionCharts Support Report post Posted May 21, 2011 Hi, Could you please tell us what exactly you see in the update panel? Is is a blank space or with some message. What do you see when you right click on the page? Share this post Link to post Share on other sites