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

Implementation of Rad editor to produce letters

1 Answer 126 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Ian
Top achievements
Rank 1
Ian asked on 12 Aug 2008, 12:41 AM
I need to provide a solution where my users can choose from letter templates and have them filled with database information, and then edit them, save them, or print them if they need to.  I would like to provide a library of letter templates to my users in rtf or whatever format they need to be in in order to accomplish my goal, with the following added features:

1. I need all the letters to print and save with 1" margins

2. I need to be able to insert an image at the top of the letters.  It can be restricted to a  certain size, but ideally the image would go in to the background and the text would be printed over it.  

3. Ineed to be able to save the letters locally as rtf, or doc, or pdf files.

4. I need to be able to print them right from the browser editing window.

The majority of these letters will not need to be edited, but I must provide my users the option to edit them if they want to.  Essentially, I am trying to provide an online tool for producing a set of business letters.  

Will RadEditor accomplish this?  If so, can someone explain how exactly?  i have been using devexpress's controls for some time, but it looks like their editor cannot accomplish what I need.  I have also been looking at richercontrols' textbox, but I cannot get straight information on the margins issue.  

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 12 Aug 2008, 12:15 PM
Hi Ian,

RadEditor is an HTML/XHTML web editor, but not RTF editor and it can work and produce only pure HTML content.

  1. Our editor offers a Template manager, which provide the ability to load and preview HTML file/templates in its Previewer and insert the selected template in the editor's content area.

    The editor also offers rich client-side API and the set_html method, which can be used to set HTML content in the content area. For example you can load the desired HTML content (your HTML template) in the editor via the editor.set_html(htmlTemplate) method.

    That is why you can create your HTML template files with 1" margins and load them in the editor. After that you can print them by pressing the Print button of the editor.
  2. When you create the template files you can put an image at the top of the letter, but if needed your users can insert the image manually via the Image Manager of RadEditor.
     
  3. As I wrote above RadEditor is HTML/XHTML editor and it does not offer built-in support for exporting its content to other formats. You should search in Google for third party HTML to RTF, PDF and other convertors. The following KB article could be also helpful: Converting RadEditor HTML to PDF format.
     
  4. You can print the editor content by pressing the http://www.telerik.com/demos/aspnet/RadControls/Editor/Skins/Default/buttons/Print.gifPrint button.
Best regards,
Rumen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Editor
Asked by
Ian
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or