By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,835 Members | 1,959 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,835 IT Pros & Developers. It's quick & easy.

Display RTF text in aspx page ?

P: n/a
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\pnlv lblt\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

Nov 18 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
=?Utf-8?B?VGlncm91?= <Ti****@discussions.microsoft.com> wrote in
news:8A**********************************@microsof t.com:
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.

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 18 '05 #2

P: n/a
Try FCKEditor... I *think* it can display RTF. Not really sure.

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

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/


Thank you so much i will try it soon as possible !
Nov 18 '05 #3

P: n/a
> > Try FCKEditor... I *think* it can display RTF. Not really sure.

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

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/


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\pnlv lblt\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 !!
Nov 18 '05 #4

P: n/a
=?Utf-8?B?VGlncm91?= <Ti****@discussions.microsoft.com> wrote in
news:FE**********************************@microsof t.com:
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).

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 18 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.