﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>FusionCharts Forum / FusionCharts v3 / Using FusionCharts / FusionCharts and ASP.NET  / ASP.NET Ajax UpdatePanel / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>FusionCharts Forum</description><link>http://www.fusioncharts.com/forum/</link><webMaster>support@fusioncharts.com</webMaster><lastBuildDate>Wed, 03 Dec 2008 02:41:22 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: ASP.NET Ajax UpdatePanel</title><link>http://www.fusioncharts.com/forum/Topic481-32-1.aspx</link><description>Hi,&lt;br&gt;sorry its took so long to reply been busy!&lt;br&gt;Anyway thanks for your ajax example code it worked great for generating charts on 'postback' after the page has loaded.&lt;br&gt;&lt;br&gt;However I wanted to generate the chart on 'Page Load' and then on 'Postbacks'&lt;br&gt;&lt;br&gt;If you use [b]RenderChartHTML[/b] on page load then you get the 'click to activate' message in IE.&lt;br&gt;&lt;br&gt;If you use [b]RenderChart[/b] on page load and then [b]RenderChart[/b] on postbacks then the postback charts don't display.&lt;br&gt;&lt;br&gt;However! If you use [b]RenderChart[/b] on page load then [b]RenderChartHTML[/b] on any postback then all problems are solved.&lt;br&gt;&lt;br&gt;Not sure if there's an easier way around this but at least it works and I'm happy.&lt;br&gt;&lt;br&gt;&lt;br&gt;</description><pubDate>Fri, 16 Nov 2007 08:41:00 GMT</pubDate><dc:creator>steve65</dc:creator></item><item><title>RE: ASP.NET Ajax UpdatePanel</title><link>http://www.fusioncharts.com/forum/Topic481-32-1.aspx</link><description>HI,&lt;P&gt;Here is a simple sample using FusionCharts in ASP.NET.AJAX Update Panel ... try this and explore more and let us know. We are currently developing more samples on various aspects and facets of UpdatePanel and ASP.NET.AJAX... we will publish them soon...&lt;/P&gt;&lt;P&gt;Developers eager to share their experiences of failure and success while using FusionCharts in Update Panel and ASP.NET.AJAX may post too.</description><pubDate>Fri, 02 Nov 2007 08:07:44 GMT</pubDate><dc:creator>Sudipto Choudhury</dc:creator></item><item><title>RE: ASP.NET Ajax UpdatePanel</title><link>http://www.fusioncharts.com/forum/Topic481-32-1.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;try using renderChartHTML() instead of RenderChart()</description><pubDate>Fri, 02 Nov 2007 05:36:51 GMT</pubDate><dc:creator>Sudipto Choudhury</dc:creator></item><item><title>RE: ASP.NET Ajax UpdatePanel</title><link>http://www.fusioncharts.com/forum/Topic481-32-1.aspx</link><description>Sorry I must have misunderstood your solution, I am actually using the FusionCharts.dll and the vb.net examples&lt;P&gt;so I have something like this in HTML&lt;/P&gt;&lt;P&gt;[code]&amp;lt;%=GetChart()%&amp;gt;[/code]&lt;/P&gt;&lt;P&gt;and code behind&lt;/P&gt;&lt;P&gt;[code]&lt;/P&gt;&lt;P&gt;Public function GetChart() as string&lt;/P&gt;&lt;P&gt;Dim strXML as string = GetChartData(DateRange)&lt;/P&gt;&lt;P&gt;return FusionCharts.RenderChart("fusioncharts/FCF_Column2D.swf","",strXML,"Chart1", "200","100", false,true)&lt;/P&gt;&lt;P&gt;end function&lt;/P&gt;&lt;P&gt;[/code]&lt;P&gt;Works fine first time but not on ajax async postback, not sure how i can use your javascript solution code.</description><pubDate>Wed, 31 Oct 2007 09:50:35 GMT</pubDate><dc:creator>steve65</dc:creator></item><item><title>RE: ASP.NET Ajax UpdatePanel</title><link>http://www.fusioncharts.com/forum/Topic481-32-1.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;some where you are using the fusionCharts javascript embedding method...i.e.&lt;/P&gt;&lt;P&gt;var c1=new FusionCharts(..,"mapID1",..);&lt;/P&gt;&lt;P&gt;c1.setDataURL(...) or c1.setDataXML(...);&lt;/P&gt;&lt;P&gt;c1.render(divID);&lt;/P&gt;&lt;P&gt;if(!&amp;#100;ocument.embeds["mapID1"])&lt;BR&gt;      window["mapID1"]=&amp;#100;ocument.getElementById("mapID1");</description><pubDate>Wed, 31 Oct 2007 06:16:32 GMT</pubDate><dc:creator>Sudipto Choudhury</dc:creator></item><item><title>RE: ASP.NET Ajax UpdatePanel</title><link>http://www.fusioncharts.com/forum/Topic481-32-1.aspx</link><description>Thanks for your help on this but how do I implement your Tip #1?&lt;P&gt;Where do I put this javascript?&lt;/P&gt;&lt;P&gt;[quote]TIP 1: If one is using registerWithJS, after rendering a chart one must use this :&lt;/P&gt;&lt;P&gt;if(!document.embeds[chartId])&lt;BR&gt;      window[chartId]=document.getElementById(chartId); //or else document.forms[formName/formIndex][chartId][/quote]&lt;/P&gt;&lt;P&gt;thanks</description><pubDate>Wed, 31 Oct 2007 03:58:05 GMT</pubDate><dc:creator>steve65</dc:creator></item><item><title>RE: ASP.NET Ajax UpdatePanel</title><link>http://www.fusioncharts.com/forum/Topic481-32-1.aspx</link><description>Hi everybody,&lt;BR&gt;Please stop fighting over the issue of implementing FusionCharts on ASP.NET AJAX...because fighting only leads us away from being codicated...from real challange of development. &lt;BR&gt;&lt;BR&gt;What i have figured out trying to implement FusionCharts in ASP.NET as well as AJAX that the only thing that is hampering the implementation is the mal-treatment of FlashObjects inside &amp;lt;FORMS&amp;gt; (which should be present in ASP.NET pages eventually for UpdatePanel controls)...&lt;BR&gt;From JavaScript's (as AJAX is 80-90% JavaScript)point of view in IE ids inside &amp;lt;form&amp;gt;s are not declared as window[id] but as &amp;#100;ocument.forms[index][id]....hence poor IE cant recognize the obejct .... you may refer to the documentation and way outs (where there's a will there's a way) published by Adobe regarding this... &lt;A href="http://kb.adobe.com/selfservice/viewContent.do?externalId=kb400730&amp;amp;sliceId=1"&gt;http://kb.adobe.com/selfservice/viewContent.do?externalId=kb400730&amp;amp;sliceId=1&lt;/A&gt;&lt;BR&gt;&lt;BR&gt;TIP 1: If one is using registerWithJS, after rendering a chart one must use this :&lt;BR&gt;&lt;BR&gt;if(!&amp;#100;ocument.embeds[chartId])&lt;BR&gt;      window[chartId]=&amp;#100;ocument.getElementById(chartId); //or else &amp;#100;ocument.forms[formName/formIndex][chartId]&lt;BR&gt;&lt;BR&gt;Using all resouces i have easily, simply and successfully implemented FusionCharts in ASP.NET AJAX and can change chart data using setDataXML/setDataURL...&lt;BR&gt;&lt;BR&gt;oh! 1 thing i missed ... i have modified getChartFromId in FusionCharts.js thus :&lt;BR&gt;&lt;BR&gt;infosoftglobal.FusionChartsUtil.getChartObject = function(id)&lt;BR&gt;{&lt;BR&gt;//  if (&amp;#119;indow.document[id]) {&lt;BR&gt;//     return &amp;#119;indow.document[id];&lt;BR&gt;//  }&lt;BR&gt;  if (navigator.appName.indexOf("Microsoft Internet")==-1) {&lt;BR&gt;    if (&amp;#100;ocument.embeds &amp;amp;&amp;amp; &amp;#100;ocument.embeds[id])&lt;BR&gt;      return &amp;#100;ocument.embeds[id]; &lt;BR&gt;  } else {&lt;BR&gt;    return &amp;#100;ocument.getElementById(id);&lt;BR&gt;  }&lt;BR&gt;}&lt;BR&gt;&lt;BR&gt;this worked in IE 6/7, Firefox, Opera 9...i have no more browsers installed but will surely check in Safari soon..&lt;BR&gt;&lt;BR&gt;</description><pubDate>Mon, 15 Oct 2007 01:10:50 GMT</pubDate><dc:creator>Sudipto Choudhury</dc:creator></item><item><title>RE: ASP.NET Ajax UpdatePanel</title><link>http://www.fusioncharts.com/forum/Topic481-32-1.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt; I am having the requirement that i am using updatepanel.but when i am using the update panel it is not refreshing the chart control.I saw ur solution and i am trying.But i am getting another issue that it is not identifying the fallowing from my code.&lt;/P&gt;&lt;P&gt;InfoSoftGlobal.FusionCharts.EncodeDataXml&lt;/P&gt;&lt;P&gt;will we get it only when we take licensed. How can I get above directive.&lt;/P&gt;&lt;P&gt;thanks and regards,&lt;/P&gt;&lt;P&gt;Y.Ashok</description><pubDate>Sat, 29 Sep 2007 05:08:38 GMT</pubDate><dc:creator>ashokan_1204</dc:creator></item><item><title>RE: ASP.NET Ajax UpdatePanel</title><link>http://www.fusioncharts.com/forum/Topic481-32-1.aspx</link><description>Hey All,&lt;/P&gt;&lt;P&gt;Well i've come up with an easy solution to the updatepanel problem.&lt;/P&gt;&lt;P&gt;There is a free flash control on &lt;A href="http://www.flash-control.net/"&gt;http://www.flash-control.net/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;[code]&lt;FONT size=2&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Protected&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Sub&lt;/FONT&gt;&lt;FONT size=2&gt; CreateChart()&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Dim&lt;/FONT&gt;&lt;FONT size=2&gt; QueryString &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;String&lt;/FONT&gt;&lt;FONT size=2&gt; = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;String&lt;/FONT&gt;&lt;FONT size=2&gt;.Format(&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;"../xml/GetAccountsXml.aspx?UserName={0}&amp;amp;QueryType={1}"&lt;/FONT&gt;&lt;FONT size=2&gt;, User.Identity.Name, GraphType.SelectedValue)&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Dim&lt;/FONT&gt;&lt;FONT size=2&gt; dataURL &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;String&lt;/FONT&gt;&lt;FONT size=2&gt; = InfoSoftGlobal.FusionCharts.EncodeDataURL(QueryString, &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;True&lt;/FONT&gt;&lt;FONT size=2&gt;)&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.FlashControl1.Height = 350&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.FlashControl1.Width = 900&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.FlashControl1.BorderColor = Drawing.Color.WhiteSmoke&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.FlashControl1.BackColor = Drawing.Color.WhiteSmoke&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.FlashControl1.Menu = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;False&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.FlashControl1.MovieUrl = &lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;"../FusionCharts/Line.swf"&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.FlashControl1.SwLiveConnect = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;True&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.FlashControl1.FlashVars = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;String&lt;/FONT&gt;&lt;FONT size=2&gt;.Format(&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;"&amp;amp;chartWidth={0}&amp;amp;chartHeight={1}&amp;amp;debugMode={2}&amp;amp;dataURL={3}"&lt;/FONT&gt;&lt;FONT size=2&gt;, 900, 350, 0, dataURL)&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;End&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Sub&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;/FONT&gt;[/code]&lt;/P&gt;&lt;P&gt;This is working brilliantly for me, plus it is free.&lt;/P&gt;&lt;P&gt;The only minor glitch is that it has that whole "click to activate thing" happening (control must be using html to render the chart)&lt;/P&gt;&lt;P&gt;Hope you have fun.&lt;/P&gt;&lt;P&gt;MavStar</description><pubDate>Wed, 01 Aug 2007 06:27:26 GMT</pubDate><dc:creator>MavStar</dc:creator></item><item><title>RE: ASP.NET Ajax UpdatePanel</title><link>http://www.fusioncharts.com/forum/Topic481-32-1.aspx</link><description>I think you guys are missing out on a LOT of business by not including basic support for MS Ajax UpdatePanels.&lt;/P&gt;&lt;P&gt;As it is i'm considering what other charting options i have.&lt;/P&gt;&lt;P&gt;(i really do not want to learn javascript)&lt;/P&gt;&lt;P&gt;MavStar</description><pubDate>Tue, 31 Jul 2007 01:54:46 GMT</pubDate><dc:creator>MavStar</dc:creator></item><item><title>RE: ASP.NET Ajax UpdatePanel</title><link>http://www.fusioncharts.com/forum/Topic481-32-1.aspx</link><description>It can work with MS AJAX too - but not using the direct APIs provided by MS. You'll need to put JS code over that to access FusionCharts AJAX API.</description><pubDate>Wed, 04 Jul 2007 11:40:32 GMT</pubDate><dc:creator>Pallav</dc:creator></item><item><title>RE: ASP.NET Ajax UpdatePanel</title><link>http://www.fusioncharts.com/forum/Topic481-32-1.aspx</link><description>so in a way or other you mean to say that Fusion Charts doesnt support Microsoft AJAX</description><pubDate>Mon, 02 Jul 2007 02:04:02 GMT</pubDate><dc:creator>Gulzar</dc:creator></item><item><title>RE: ASP.NET Ajax UpdatePanel</title><link>http://www.fusioncharts.com/forum/Topic481-32-1.aspx</link><description>FusionCharts is a platform independent tool - and as such we've "intentionally" chosen not to customize it to any specific language. We've thousands of ASP.NET users who're using the AJAX interface exposed by FusionCharts and they couple it with their own ASP.NET code.</description><pubDate>Sun, 01 Jul 2007 23:47:58 GMT</pubDate><dc:creator>Pallav</dc:creator></item><item><title>RE: ASP.NET Ajax UpdatePanel</title><link>http://www.fusioncharts.com/forum/Topic481-32-1.aspx</link><description>why do you need a live link to debug ?&lt;/P&gt;&lt;P&gt;this is the problem that everybody whos using UpdatePanel is facing then why dont you just provide the solution or simply say that it doesnt Support Miscrosoft AJAX Extension</description><pubDate>Sat, 30 Jun 2007 13:38:50 GMT</pubDate><dc:creator>Gulzar</dc:creator></item><item><title>RE: ASP.NET Ajax UpdatePanel</title><link>http://www.fusioncharts.com/forum/Topic481-32-1.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;FusionCharts works with AJAX as in custom JavaScripts and client side updates. Infact many industry standard AJAX grids are using FusionCharts - you can see few live demos at &lt;A href="http://www.fusioncharts.com/Demos/Blueprint"&gt;http://www.fusioncharts.com/Demos/Blueprint&lt;/A&gt;&lt;/P&gt;&lt;P&gt;We've not restricted ourselves to any specific AJAX framework like that of .NET or .... However, if you can send me a live link, I can debug into it and let you know the source of problem.</description><pubDate>Tue, 22 May 2007 01:53:12 GMT</pubDate><dc:creator>Pallav</dc:creator></item><item><title>RE: ASP.NET Ajax UpdatePanel</title><link>http://www.fusioncharts.com/forum/Topic481-32-1.aspx</link><description>I'm having the same problem.  I have an update panel with a multiview, the intial chart loads with the onpageload event, but when a do an asyncronous postback in the update panel, no charts.  It just displays the word CHART.  &lt;/P&gt;&lt;P&gt;Everything I read about fusion charts says it works with ajax, but I have yet to see any support from infosoft global and the updatepanel is the simplest ajax control</description><pubDate>Fri, 18 May 2007 10:30:09 GMT</pubDate><dc:creator>anderdw2</dc:creator></item><item><title>ASP.NET Ajax UpdatePanel</title><link>http://www.fusioncharts.com/forum/Topic481-32-1.aspx</link><description>I have been trying to add fusion charts to an AJAX UpdatePanel in Visual Studio. There are problems when I change the dataXML and try to update. Has any one had any luck with getting FusionCharts working with the Visual Studio AJAX?&lt;br&gt;&lt;br&gt;I have tried using the javascript in many different ways, any ideas?&lt;br&gt;</description><pubDate>Fri, 09 Mar 2007 06:22:29 GMT</pubDate><dc:creator>rPh</dc:creator></item></channel></rss>