Jump to content
Software FX Community

Bind the data on client side


Recommended Posts

Dear Sir,

I have to bind the data on client side.

i have java script function with parameter (result)

chartPie.DataSourceSettings.DataSource = SfxXML;

this command how to write client side.

result parameter having the data i have to bind the data client side.

Thanks & Regards


Link to comment
Share on other sites

DataBinding is not supported by the .NET Client control (assuming you are using it).

You need to make a trip back to the server (using AJAX) and re-render the control.

For more information about how Chart FX integrates with AJAX please check the following KB article:

Q7651001. Chart FX for VS 2005 and AJAX

URL: http://support.softwarefx.com/ShowArticleSep.aspx?Type=KB&Product=Cfx51&Source=http://support.softwarefx.com/kb/765/1/001.htm?_r=1

Link to comment
Share on other sites


When you refer to the chart in the client, are you referring to the .NET Client control or are you generating an image? In the later case, there is no chart object in the client, everything is done server side. You can send the JSON object to the server via AJAX (as explained in the KB article above), desirialize it inot CLR objects and then have the chart read form these objects. The Client control does expose an API for setting data (Chart.Data) that you can use to loop through your Javascript objects and assign data to the chart.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...