Support for ASP.Net AJAX UpdatePanel
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Support for ASP.Net AJAX UpdatePanel Expand / Collapse
Author
Message
Posted 7/31/2007 1:51:36 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 8/1/2007 6:23:22 AM
Posts: 4, Visits: 3
I love the fusion chart.

BUT i would really REALLY love for it to support simple MS Ajax Updatepanels.  Because quite frankly i really don't want to learn javascript!

If someone has a simple work around i would dearly love to hear about it

MavStar

Loving VB.Net

Post #1787
Posted 8/1/2007 6:31:53 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 8/1/2007 6:23:22 AM
Posts: 4, Visits: 3
Hey All,

Well i've come up with an easy solution to the updatepanel problem.

There is a free flash control on http://www.flash-control.net/

Protected Sub CreateChart()

Dim QueryString As String = String.Format("../xml/GetAccountsXml.aspx?UserName={0}&QueryType={1}", User.Identity.Name, GraphType.SelectedValue)

Dim dataURL As String = InfoSoftGlobal.FusionCharts.EncodeDataURL(QueryString, True)

Me.FlashControl1.Height = 350

Me.FlashControl1.Width = 900

Me.FlashControl1.BorderColor = Drawing.Color.WhiteSmoke

Me.FlashControl1.BackColor = Drawing.Color.WhiteSmoke

Me.FlashControl1.Menu = False

Me.FlashControl1.MovieUrl = "../FusionCharts/Line.swf"

Me.FlashControl1.SwLiveConnect = True

Me.FlashControl1.FlashVars = String.Format("&chartWidth={0}&chartHeight={1}&debugMode={2}&dataURL={3}", 900, 350, 0, dataURL)

End Sub

This is working brilliantly for me, plus it is free.

The only minor glitch is that it has that whole "click to activate thing" happening (control must be using html to render the chart)

I'd still prefer to use a official FusionChart control, but hey time is money and i've spent enough time on this problem already.

Hope you have fun.

MavStar

Loving VB.Net



Loving VB.Net
Post #1802
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 5:14am


Execution: 0.063.