ChartDirector 6.0 (ASP/COM/VB Edition)



partialUpdateAsAttachment(extraQuery, target)


Sends an attachment request using the partial update (AJAX request) mechanism.

For an attachment request, the server should send back the chart image directly as the response, without any associated data such as the image map, Javascript Chart Model or custom attributes, and mark it as an attachment in the HTTP header. When the browser receives the attachment, instead of displaying it, it should save it as a file. The exact behaviour depends on the browser. Some browsers may immediately save the attachment as a file in a download directory; some browsers may prompt the user for the filename and directory; some browsers that do not support downloading files may ignore the content..

In HTML, the attachment request needs to be sent as the URL of a browser window or an IFRAME. By default, ChartDirector will create an hidden IFRAME to sent the request. The target argument can be used to configure using another browser window to send the request.


extraQuery""Extra query parameters that can be sent with the request. An example is "a=b&c=d".
target""The name of the browser window used to send the request, in the same format as the name used in the Javascript method.

Return Value