ChartDirector 7.1 (.NET Edition)

RazorChartViewer.IsStreamRequest


Usage

[C#]public static bool IsStreamRequest({System.Web.HttpRequestBase | Object} request);
[VB]Public Shared Function IsStreamRequest(request As {System.Web.HttpRequestBase | Object}) As Boolean

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 RazorChartViewer object. To get the id of the JsChartViewer object sending the request, use RazorChartViewer.GetSenderClientId.

Arguments

ArgumentDefaultDescription
request(Mandatory)The HttpRequest object representing the current HTTP request.

Return Value

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