Can't find what you're looking for?

Contact us or post in our forums and we'll help you find an answer.

How to use the RichTextBox control

Background:

This article discusses how to use the RichTextBox control.

Steps to Complete:

  • 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>
    
  • Save the document as an HTML file (ex: index.html)

  • Open a new Section Report and add a RichTextBox to the report

  • Goto the RichTextBox Properties and select “Load file…”

  • Browse for the HTML file you recently created and select open

  • After the file is loaded, the RichTextBox will render the HTML file at design-time

  • Select the Preview tab in the Designer to view the report

Getting Started:

index.htmlRichTextbox sample.rpx

Get the Latest Version of ActiveReports
Download the Free Trial Now