This is a migrated thread and some comments may be shown as answers.

[Solved] Printing multiple editors content property

1 Answer 47 Views
Editor
This is a migrated thread and some comments may be shown as answers.
adam king
Top achievements
Rank 1
adam king asked on 01 Mar 2010, 09:44 PM
What would be the easiest way to print multiple editor fields?

I need a print button separate from the built-in-to-editor button that can print out each field one after the other with some heading/footer added.
I'd prefer using crystal reports if I can (is that possible) , but printing from the browser would work too.

My page has multiple editors in a formview displaying Text=Content for different TEXT-type fields, and this is working nicely. Now I'm adding a print button. I'd prefer they dont have to save to database before printing their new input

Thanks

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 02 Mar 2010, 11:13 AM
Hi Adam,

Please, note that the requested feature is not directly related to RadEditor and that Telerik support handles Telerik controls only.

You can think of RadEditor as an enhanced <asp:TextBox> control. The only difference is that the editor returns its content through the Content server property and the textbox through its Text property. So if you are able to implement your scenario with multiple textbox controls and export their content to Crystal Reports you will be able to replace the textboxes with RadEditors, replace the Text properties with Content properties and export their content to Crystal Reports.

If you would like to print the content of multiple editors you use the solution in this help article: Printing Content with Styles. You should create an iframe element and in the printDocument.write method to add the content of all editors.

Kind regards,
Rumen
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.
Tags
Editor
Asked by
adam king
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or