The following will cause the Print and Print Preview to show a blank document:
this
.editor.Print(string.Empty, printMode); // Fails
this.editor.Print("document", printMode); // Works
1 Answer, 1 is accepted
0
Alex
Telerik team
answered on 15 Jul 2010, 09:42 AM
Hello GEB,
Passing empty string as a DocumentName causes the print preview to generate HTML with a self-closing <title/> tag. Unfortunately, IE shows a blank document in this case (Firefox and Chrome will show the document even if there is a self-closing title tag).
We will fix this issue with the next Service Pack. For now, you can just avoid passing an empty string as a DocumentName.
Please, let us know if you have any other questions.
Best wishes,
Alex
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items