Jump to content
Software FX Community

Chart Control not updating on postback


User (Legacy)

Recommended Posts

I have 3 charts controls created programmatically and added to a place

holder control. On my form I have a drop down list that causes a post back

and changes the query and thus the dataset that the charts are created from.

I know the datasets are being changed on post back because I have the same

datasets set as the datasource for three datagrids on the same form.

My charts, however, are not changing on postback. The charts maintain the

original data from page creation.

How can I force the charts to use the updated dataset information and

re-create the charts rather than using the data information the chart is

some how caching?

Thanks for your help!

Matt

Link to comment
Share on other sites

> I have 3 charts controls created programmatically ...

How are you doing this ? Are you adding the charts to the form, when (in

what event) ?

> I know the datasets are being changed on post back because I have the same

> datasets set as the datasource for three datagrids on the same form.

Are these grids also created programmatically ? in the same way ?

If this doesn't help you solve the problem, please post the code you are

using to create the charts and change the dataset including the events in

which this code is running.

--

FP

Software FX

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...