fmrock Report post Posted February 2, 2012 I am trying to upgrade to 3.2.2 Service Release 1. My c# app will load the initial charts fine. using the literal LiteralExceptionsSiteSummary.Text = FusionCharts.RenderChart("../FusionCharts/Column2D.swf", "", strExceptionsSiteSummaryXML.ToString(), "ExceptionsSiteSummary", "600", "300", false, true); However, I have a drop down list at the top of the page where I can change locations and the page posts back and all I get is the word "chart" written in the div. The old version worked fine when I used this method. <asp:TableRow> <asp:TableCell><%=GetExceptionsSiteSummary()%></asp:TableCell> <asp:TableCell><%=GetExceptionsSiteRate()%></asp:TableCell> </asp:TableRow> What is the work around, do I have to us the Update Panel method I have seen in the examples and other posts? Share this post Link to post Share on other sites
Guest Sumedh Report post Posted February 3, 2012 I am trying to upgrade to 3.2.2 Service Release 1. My c# app will load the initial charts fine. using the literal LiteralExceptionsSiteSummary.Text = FusionCharts.RenderChart("../FusionCharts/Column2D.swf", "", strExceptionsSiteSummaryXML.ToString(), "ExceptionsSiteSummary", "600", "300", false, true); However, I have a drop down list at the top of the page where I can change locations and the page posts back and all I get is the word "chart" written in the div. The old version worked fine when I used this method. <asp:TableRow> <asp:TableCell><%=GetExceptionsSiteSummary()%></asp:TableCell> <asp:TableCell><%=GetExceptionsSiteRate()%></asp:TableCell> </asp:TableRow> What is the work around, do I have to us the Update Panel method I have seen in the examples and other posts? Greetings, Can you send us relevant sample code of your issue? Share this post Link to post Share on other sites
fmrock Report post Posted February 3, 2012 Greetings, Can you send us relevant sample code of your issue? Here is some sample code. When you arrive on this page, the charts are generated based off the first item in my drop down list. Once that drop down list is change, the page will post back, but only the word "Chart" is displayed in the div. When I step through my project, I see it generates new xml. Is this enough sample code? Any ideas? <asp:Table Width="100%" ID="Charts" runat="server"> <asp:TableRow> <asp:TableCell> <asp:DropDownList ID="ddlFacility" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlFacility_SelectedIndexChanged"></asp:DropDownList> </asp:TableCell> </asp:TableRow> <asp:TableRow> <asp:TableCell><asp:Literal ID="LiteralExceptionsSiteSummary" runat="server"></asp:Literal></asp:TableCell> <asp:TableCell><asp:Literal ID="LiteralExceptionsSiteRate" runat="server"></asp:Literal></asp:TableCell> </asp:TableRow> </asp:Table> protected void Page_Load(object sender, EventArgs e) { base.CheckUserPageAccess(); try { if (!Page.IsPostBack) { // set page title and summar Label pageTitle = (Label)Master.FindControl("lblPageTitle"); Label pageSummary = (Label)Master.FindControl("lblPageSummary"); pageTitle.Text = "Exception Count and Rate"; LoadClientFacilities(); } string sSite_Num = this.ddlFacility.SelectedValue; string strExceptionsSiteSummaryXML = GetExceptionsSiteSummaryXML(); string strGetExceptionsSiteRateXML = GetExceptionsSiteRateXML(); LiteralExceptionsSiteSummary.Text = FusionCharts.RenderChart("../FusionCharts/Column2D.swf", "", strExceptionsSiteSummaryXML.ToString(), "ExceptionsSiteSummary", "600", "300", false, true); LiteralExceptionsSiteRate.Text = FusionCharts.RenderChart("../FusionCharts/Column2D.swf", "", strGetExceptionsSiteRateXML.ToString(), "ExceptionsSiteRate", "150", "300", false, true); } catch (Exception ex) { } finally { } } Share this post Link to post Share on other sites
fmrock Report post Posted February 13, 2012 Any ideas? Share this post Link to post Share on other sites
Guest Sumedh Report post Posted March 15, 2012 Hi, Please refer this post: http://forum.fusioncharts.com/topic/10757-fusionchart-in-aspupdatepanel/page__p__42221__hl__update+panel__fromsearch__1#entry42221 Share this post Link to post Share on other sites