The following will cause the Print and Print Preview to show a blank document:
.editor.Print(string.Empty, printMode); // Fails
this.editor.Print("document", printMode); // Works
1 Answer, 1 is accepted
answered on 15 Jul 2010, 09:42 AM
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.
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