Display RTF text in aspx page ?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tigrou

    Display RTF text in aspx page ?

    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\ans icpg1252\deff0\ deflang1036{\fo nttbl{\f0\froma n\fcharset0
    Times New Roman;}{\f1\fni l Verdana;}{\f2\f nil\fcharset2 Symbol;}}
    \viewkind4\uc1\ pard{\pntext\f2 \'B7\tab}{\*\pn \pnlvlblt\pnf2\ pnindent0{\pntx tb\'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

  • Lucas Tam

    #2
    Re: Display RTF text in aspx page ?

    =?Utf-8?B?VGlncm91?= <Tigrou@discuss ions.microsoft. com> wrote in
    news:8A4AEAC0-2207-490E-B3BB-166968F09D8D@mi crosoft.com:
    [color=blue]
    > 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 ![/color]

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

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

    --
    Lucas Tam (REMOVEnntp@rog ers.com)
    Please delete "REMOVE" from the e-mail address when replying.

    Comment

    • Tigrou

      #3
      Re: Display RTF text in aspx page ?

      [color=blue]
      > Try FCKEditor... I *think* it can display RTF. Not really sure.
      >
      > Otherwise, there is FreeTextBox, but it's not documented very well.
      >
      > --
      > Lucas Tam (REMOVEnntp@rog ers.com)
      > Please delete "REMOVE" from the e-mail address when replying.
      > http://members.ebay.com/aboutme/coolspot18/
      >[/color]

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

      Comment

      • Tigrou

        #4
        Re: Display RTF text in aspx page ?

        > > Try FCKEditor... I *think* it can display RTF. Not really sure.[color=blue][color=green]
        > >
        > > Otherwise, there is FreeTextBox, but it's not documented very well.
        > >
        > > --
        > > Lucas Tam (REMOVEnntp@rog ers.com)
        > > Please delete "REMOVE" from the e-mail address when replying.
        > > http://members.ebay.com/aboutme/coolspot18/[/color][/color]

        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\ans icpg1252\deff0\ deflang1036{\fo nttbl{\f0\froma n\fcharset0
        Times New Roman;}{\f1\fni l Verdana;}{\f2\f nil\fcharset2 Symbol;}}
        \viewkind4\uc1\ pard{\pntext\f2 \'B7\tab}{\*\pn \pnlvlblt\pnf2\ pnindent0{\pntx tb\'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 !!

        Comment

        • Lucas Tam

          #5
          Re: Display RTF text in aspx page ?

          =?Utf-8?B?VGlncm91?= <Tigrou@discuss ions.microsoft. com> wrote in
          news:FE758609-D14E-48B8-9A87-0C6395CC3DAD@mi crosoft.com:
          [color=blue]
          > 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 !![/color]

          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 (REMOVEnntp@rog ers.com)
          Please delete "REMOVE" from the e-mail address when replying.

          Comment

          Working...