To use a File-based rendering method to transfer C1WebChart3D to the client using temporary files, complete the following steps:
1. Place the C1WebChart3D control on a form. A Confirmation dialog box appears.
2. Click No. An HttpHandler is not used for the File-base rendering method.
3. Configure the data and appearance elements as desired.
4. Set the ImageRenderMethod property to ImageRenderMethodEnum.File.
5. Ensure the ImageUri property is blank.
Run the program and notice the following:
The image tag created should look similar to the following:
<img id=_c1wc src=C1WebChartTemp/c1c_105_f1_d814d8cf.png>
The "C1WebChartTemp" directory is always assumed if a virtual path is not specified. File security settings must allow writing here for the anonymous web user.
Because the ImageUri property is blank, the control manufactures a name for the temporary file. The manufactured name is a hash code of the chart properties, and is virtually unique for each different chart.