ChartDirector 5.1 (.NET Edition)

WebChartViewer.ImageSessionId


Declaration

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

Description

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

By default, the WebChartViewer control 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.