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
540
UltraChart inside UpdatePanel
posted

I'm using instances of WebChart in a set of UpdatePanels. The charts are configured to use session state; the DeploymentScenario and ImagePipePageName are configured declaratively in the ascx file.

However, I keep running into a situation where the chart throws an exception during the Render phase of the ASP.NET lifecycle when it attempts to access the ChartImages directory underneath the location of the UserControl (.ascx file) that has the chart on it.  However, the chart should be set up to use Session State, not the filesystem.  The chart hasn't had DataBind called on it at this point.  Furthermore, in the cases where the chart(s) do render instead of throwing exceptions, the legend is missing.  I have a config flag set to enable/disable doing the DataBind on the asynchronous postback, and everything works fine when it's being done synchronously.

Are there any gotchas that I may be overlooking when using the UltraChart inside an UpdatePanel?  I'm using 7.1.