ComponentOne Chart for .NET (2.0) Search HelpCentral 

ImageRenderMethodEnum.ASPPage Method

This setting requires you to create a second ASP page that is responsible streaming the chart data back to the first page through a call to the Response.Write method.

This method is useful for gaining greater control of the binary response stream returning the chart image to the page. By authoring a separate ASP page for the response, it is possible to customize management of the response, including the client cache, server cache, and IIS logging. Other positive attributes are that the <img> tag is automatically generated and properly placed, image maps are available, and data transfer to the second ASP page is managed automatically.

The ImageUri property specifies the path to the second ASP page.

The following example shows the type of <img> tag that this method creates:

<img id='c1wc' src='mySecondPage.aspx?CacheID=87987…' />

The src attribute specifies the location of the second ASP page and also a parameter that describes where the page can find the information required to create the chart. In this case the parameter is a CacheID, but could also be a SessionID entry or temporary file, depending on the setting of the ImageTransferMethod property.


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.