Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
120
Infragistic UltraChart Auto Post Back Control
posted

Hi,

I'm currently develop a web page using Infragistic ( my first time using Infragistic) and I facing some problem regarding the UltraChart.

I'm creating my UltraChart using coding and it had successful created. But when I had my other web component(For example drop down list) post back , there is error PNG picture save in my ChartImages folder.  I do not want the error PNG to appear each time when I trigger post back by other web component. How can I do that? Need help on that.

FYI, my chart is created when a button is click.

Thanks.

  • 26458
    Offline posted

    While there's no way to simply not save the image on postback, even when there's an error message displayed in the chart, you can suppress the error message itself. For an empty chart, set EmptyChartText property to an empty string. For invalid data, handle InvalidDataReceived event and set e.Text to an empty string.