ChartDirector 7.1 (.NET Edition)

WebChartViewer.ImageSessionId


Declaration

[C#]public string ImageSessionId {get; set;};
[VB]Public Property ImageSessionId As String

Description

The name of the session variable to temporarily store the chart image.

By default, the WebChartViewer will automatically generated a session variable name based on the UniqueID property of the control (this property is inherited from the ASP.NET Image control). So setting ImageSessionId is not necessary.

However, in some cases, it may be desirable to use a given session variable name. For example, the image may need to be shared among multiple objects or controls. In such cases, the ImageSessionId can be used to override the default session variable name.