Sign in to follow this  
fmrock

Upgrading To 3.2.2 Service Release 1

Recommended Posts

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

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this