ChartDirector 6.2 (.NET Edition)



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


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

By default, the RazorChartViewer will automatically generated a session variable name based on the RazorChartViewer.ID. 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.