473,396 Members | 1,605 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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\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
4 7226
=?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
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
> > 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
=?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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: David Elliott | last post by:
I need a control on a Web Page that can accept an HTML Document and will display it. Any help would be appreciated. Thanks, Dave Here is what I was trying...
0
by: Doots | last post by:
Hello, Since 2 months i'm looking for a solution for display rtf text in an aspx page. The only component who can do it is RichTextBox but it's too expensive. Then if anyone know a solution for...
5
by: Peter Lapic | last post by:
I have to create a image web service that when it receives an imageid parameter it will return a gif image from a file that has been stored on the server. The client will be an asp.net web page...
2
by: c676228 | last post by:
Hi, I have several user controls like email, phone,ssn etc. each has it's own validation message in its user control already. When I bring all those user controls in an aspx page, I would like to...
0
by: george.miscalencu | last post by:
I'm trying to display a text from a database, text that contains Romanian diacritics (aîst) in a aspx page. The text has been inserted in the database using a asp application with a HTML editor...
3
by: c676228 | last post by:
Hi everyone, I have a piece of code in sales.aspx.vb like this: Protected WithEvents Message As System.Web.UI.WebControls.Label Try ... ChartImage.ImageUrl = "ChartGenerator.aspx?" + DataStr +...
1
by: pkamil83 | last post by:
Hello I've got a table on SQL Server 2005 with columns: ID int Text XML Image varbinary(max) In this table I'm having SVG images. All I have to do is to display those images on ASP.NET 2...
14
by: lmttag | last post by:
Hello. We're developing an ASP.NET 2.0 (C#) application and we're trying to AJAX-enable it. We're having problem with a page not showing the page while a long-running process is executing. So,...
2
by: Evan M. | last post by:
Hello there, I have an interesting problem to takle. I'm creating a website that's going to be run in a local Intranet. The site uses a MasterPage / content page scheme, with the Master page...
1
by: =?Utf-8?B?THluZGE=?= | last post by:
In my web app, I have two CSS - one for display and one for print. A small copywrite statement needs to print, but does not display on the ASPX page. The ID of the copywrite statement has DISPLAY:...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.