Hello,
I create chart controls in code behind. When I click a button I rerender the charts with new information but the charts render with previous information and I have to cause another postback for the chart to render with new information.
I have tried with enableviewstate = false with no success.
If I put a chart control on the page with enableviewstat = false and only add series and such to it from code behind the rendering works as I wish but the click event causes an indexoutofrange error.
Firstly I would like to get it to work from code behind.
I have tried several things with no success so far and would be very thankful for any ideas.
Regards,
Roberto
I create chart controls in code behind. When I click a button I rerender the charts with new information but the charts render with previous information and I have to cause another postback for the chart to render with new information.
I have tried with enableviewstate = false with no success.
If I put a chart control on the page with enableviewstat = false and only add series and such to it from code behind the rendering works as I wish but the click event causes an indexoutofrange error.
Firstly I would like to get it to work from code behind.
I have tried several things with no success so far and would be very thankful for any ideas.
Regards,
Roberto