ChartDirector 7.1 (.NET Edition)

WebChartViewer.IsPartialUpdateRequest


Usage

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

Description

Checks if the current HTTP Request is a partial update request (AJAX request) sent using JsChartViewer.partialUpdate.

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 a partial update request (AJAX request) sent using JsChartViewer.partialUpdate, otherwise false.