I have a need of hiding the richtexteditor, populating it, and then doing a PrintPreview. I have discovered that if the control's "Visible" property is false, it does not work. The document is empty. It also does not work if you dynamically create the control at run-time. Thoughts? Obviously, I can add a control to the form and hide it behind another control, but that's a hack.
Dim
foo
As
New
RadRichTextEditor
Dim
provider
As
New
HtmlFormatProvider()
foo.Document = provider.Import(
"<html><body>All Notes for Project Foo<br/><br/></body></html>"
)
foo.PrintPreview()