ChartDirector 5.1 (.NET Edition)

WebChartViewer.IsStreamRequest


Usage

[VB] Public Shared Function IsStreamRequest(currentPage As System.Web.UI.Page) As Boolean
[C#] public static bool IsStreamRequest(System.Web.UI.Page currentPage);

Description

Checks if the current HTTP request is a stream update request sent using JsChartViewer.streamUpdate.

Note that the JsChartViewer does not need to have the same id as the WebChartViewer object. To get the id of the JsChartViewer object sending the request, use WebChartViewer.GetSenderClientId.

Arguments

ArgumentDefaultDescription
currentPage(Mandatory)The current Web Form.

Return Value

True if the current request is stream update request sent using JsChartViewer.streamUpdate, otherwise false.