Chetan

Alternative To Fusion Chart Render Method Response.write(Fusionchart.render())

Recommended Posts

When the fusionchart is within the update panel and rendered using the method in C# codebehind

 

Response.Write(FusionCharts.RenderChart("Fusioncharts/MSColumn3D.swf", "", graphString.ToString(), "abcdefadfa", "100%", "100%", false, true));

 

Error is thrown: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.

 

Here it talks its because of response.redirect() in the updated panel.

http://forums.asp.net/t/1066976.aspx/1

 

How do I avoid this conflict?

How do I render the chart without response.write()?

 

Thanks in advance.

Share this post


Link to post
Share on other sites

Hi the solution worked when I reverted back fusionchart version to 3.2.1-release

But I cannot revert back to old fusionchart version I have latest version fusioncharts/3.2.4-release.8565

Reason being the forum post

http://forum.fusionc...9020#entry49020

 

When I try the ajax solution from above post with @version fusioncharts/3.2.4-release.8565

 

I get this errors from fusionchart.js and I dont see any graph but blank page.

 

  • Uncaught TypeError: Cannot read property 'dynamicDataRoutingEnabled' of undefined FusionCharts.js:77

<br class="Apple-interchange-newline">

 

And for the suggestion item,

How about a demo of asp.net and ajax for each release?

Could not find a simple demo for the latest release in documentation.

Thanks,

Chetan Patel

 

 

Hi,

 

Please refer this post:

http://forum.fusionc...h__1#entry42221

 

If this doesn't help, please feel free to revert.

Edited by Chetan

Share this post


Link to post
Share on other sites
Guest Sashibhusan

Hi,

 

We are looking into your issue.

 

As soon as we come up with the solution, we would get back to you.

 

Thank you for your continued patience and patronage.

Share this post


Link to post
Share on other sites

Any update on the issue? Would appreciate the early response to the issue.

Hi,

 

We are looking into your issue.

 

As soon as we come up with the solution, we would get back to you.

 

Thank you for your continued patience and patronage.

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi Chetan,

 

You would have to add updatepanelhook.fusioncharts.js library inside the ScriptManager.

 

Ref. Code:

<asp:ScriptManager ID="ScriptManager1" runat="server">

 

<scripts>

<asp:ScriptReference Path="FusionCharts/updatepanelhook.fusioncharts.js" />

</Scripts>

</asp:ScriptManager>

 

For more information, please refer this URL:

http://docs.fusioncharts.com/charts/contents/?guide-for-web-developers/csnet/CS_UpdatePanel.html

 

Also, find attached illustration for your reference.

UpdatePanel_AjaxFCXT.zip

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