ChartDirector 7.1 (.NET Edition)

RazorChartViewer.IsPartialUpdateRequest


Usage

[C#]public static bool IsPartialUpdateRequest({System.Web.HttpRequestBase | Object} request);
[VB]Public Shared Function IsPartialUpdateRequest(request As {System.Web.HttpRequestBase | Object}) 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 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 a partial update request (AJAX request) sent using JsChartViewer.partialUpdate, otherwise false.