PRB: Office 2000 Web Chart Prints Incorrectly from Internet Explorer 5.0 (250556)
The information in this article applies to:
- Microsoft Office Chart Component 9.0, run time
This article was previously published under Q250556 SYMPTOMS
When you print a Web page that contains an Office 2000 Chart component from Microsoft Internet Explorer version 5.0, the chart that results in the printed output does not contain the series data.
CAUSE
This problem may occur when the chart is bound to a DataSource Control (DSC) or an ActiveX Data Objects (ADO) Recordset with script. When you print a Web page from Internet Explorer 5.0, the page is persisted to the Temp folder. Internet Explorer then creates a new process that loads the persisted page for printing. When the persisted page is loaded, script is not run; therefore, if you use script in the onLoad event for binding the chart, the chart is not bound and may not appear correctly in the printed output.
Internet Explorer 5.0 instructs that controls on a Web page persist their data before saving the temporary page for printing. Because the chart does persist literal data into its XMLData parameter, this problem does not occur when the chart uses literal data.
RESOLUTION
To correct this problem, do one of the following:
REFERENCES
Stearns, Dave. Programming Microsoft Office 2000 Web Components. Redmond, WA: Microsoft Press, 1999.
For more information about the Microsoft Office Web Components, see the following Microsoft Web site:
For sample code that demonstrates solutions using the Office 2000 Web Components with VBScript and ASP, see the following article in the Microsoft Knowledge Base:
258187 OWebComp.exe Contains Scripting Samples for the Office Web Components
Modification Type: | Minor | Last Reviewed: | 8/23/2005 |
---|
Keywords: | kbOfficeWebChart kbprb KB250556 |
---|
|