Display RTF text in aspx page ?

G

Guest

Hello,

In a Oracle Database i have text who are stored, this text are in RTF
format, you can see an example below:

{\rtf1\ansi\ansicpg1252\deff0\deflang1036{\fonttbl{\f0\froman\fcharset0
Times New Roman;}{\f1\fnil Verdana;}{\f2\fnil\fcharset2 Symbol;}}
\viewkind4\uc1\pard{\pntext\f2\'B7\tab}{\*\pn\pnlvlblt\pnf2\pnindent0{\pntxtb\'B7}}\fi-200\li200\sb100\sa100\f0\fs24 Jusqu'\'e0 22 ppm en noir...

I would like display this text in an ASP.Net page, but i don't know how i
can do it... I'm looking for a solution who permit me to display this RTF
text in my page. For example RichTextBox 2.0 permit it, but it's
expensive.... i search for a free componant.... I work with Visual Studio and
VB.Net. If anyone have a solution, i'm listenning !

Thanks a lot for help you can give to me ! And sorry, for my bad english... :D
 
L

Lucas Tam

I would like display this text in an ASP.Net page, but i don't know
how i can do it... I'm looking for a solution who permit me to display
this RTF text in my page. For example RichTextBox 2.0 permit it, but
it's expensive.... i search for a free componant.... I work with
Visual Studio and VB.Net. If anyone have a solution, i'm listenning !

Try FCKEditor... I *think* it can display RTF. Not really sure.

Otherwise, there is FreeTextBox, but it's not documented very well.
 
G

Guest

Try FCKEditor... I *think* it can display RTF. Not really sure.

Otherwise, there is FreeTextBox, but it's not documented very well.

Thank you so much i will try it soon as possible !
 
G

Guest

Try FCKEditor... I *think* it can display RTF. Not really sure.
I tryied to use FCKEditor and FreeTextBox, but unfortunately, this
components can't display RTF text, they permits only to create rich text in
HTML format... For example RichTextBox componant from Richer Components
company permits to display RTF text because it had a LoadRtf method who
permit to display RTF text like mine.
My RTF text is yet existing in a database and i want display it. With
FCKEditor and FreeTextBox when i try to display text the result is :

{\rtf1\ansi\ansicpg1252\deff0\deflang1036{\fonttbl{\f0\froman\fcharset0
Times New Roman;}{\f1\fnil Verdana;}{\f2\fnil\fcharset2 Symbol;}}
\viewkind4\uc1\pard{\pntext\f2\'B7\tab}{\*\pn\pnlvlblt\pnf2\pnindent0{\pntxtb\'B7}}\fi-200\li200\sb100\sa100\f0\fs24 Jusqu'\'e0 22 ppm en noir...

The RTF syntax is considered like a simple string.... With RichTextBox from
Richer Components company it works.. but the cost is 200 dollars, and i must
use a free component in my project...
Then i'm yet looking for a solution... maybe i'm wrong and with FCKEditor or
FreeTextBox it can work but with so few documentation i didn't find the good
way for do it...

Thanks for help you can provide to me !!
 
L

Lucas Tam

The RTF syntax is considered like a simple string.... With RichTextBox
from Richer Components company it works.. but the cost is 200 dollars,
and i must use a free component in my project...
Then i'm yet looking for a solution... maybe i'm wrong and with
FCKEditor or FreeTextBox it can work but with so few documentation i
didn't find the good way for do it...

Thanks for help you can provide to me !!

If you do a google search, there are several RTF to HTML programs. If you
cannot find a .NET or ActiveX component to do the job, you may need to feed
the RTF into a RTF conversion command line application to generate HTML
output (which you would then display).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top