Skip to main content Skip to footer

How to use the RichTextBox control

Background:

This article discusses how to use the RichTextBox control.

Steps to Complete:

  1. Open notepad and copy the following code onto the document:
    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta http-equiv="X-UA-Compatible" content="ie=edge">
        <title>Document</title>
    </head>
    <body>
        Hello World
    </body>
    </html>
    
  2. Save the document as an HTML file (ex: index.html)
  3. Open a new Section Report and add a RichTextBox to the report
  4. Goto the RichTextBox Properties and select “Load file…”
  5. Browse for the HTML file you recently created and select open
  6. After the file is loaded, the RichTextBox will render the HTML file at design-time
  7. Select the Preview tab in the Designer to view the report

Getting Started:

https://global-cdn.grapecity.com/kb/activereports/ard/RichTextboxSample.rpx

https://global-cdn.grapecity.com/kb/activereports/ard/index.html

Evan Warren