ChartDirector 5.1 (.NET Edition)

WebChartViewer.IsPartialUpdateRequest


Usage

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

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.