473,836 Members | 1,615 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

Nov 18 '05 #1
4 7258
=?Utf-8?B?VGlncm91?= <Ti****@discuss ions.microsoft. com> wrote in
news:8A******** *************** ***********@mic rosoft.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********@rog ers.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********@rog ers.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********@rog ers.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\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 !!
Nov 18 '05 #4
=?Utf-8?B?VGlncm91?= <Ti****@discuss ions.microsoft. com> wrote in
news:FE******** *************** ***********@mic rosoft.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********@rog ers.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
15823
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
1392
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 display RTF text in a ASPX page or at least how convert RTF text in HTML code it will be great ! The RTF text that i want display is stored in this format (RTF format): {\rtf1\ansi\ansicpg1252\deff0\deflang1036{\fonttbl{\f0\froman\fcharset0...
5
5052
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 that calls the web service to render a vertical strip of images. After doing some research I am unable to find some vb.net code that can assist in what I want to achieve. The closest thing I found was
2
6290
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 display a summary error messages using validation summary in an aspx page, how to do that? Thank you. -- Betty
0
1140
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 with this setting: content-type="text/html; charset=iso-8859-2" I have failed to do this. I've tried using all the possible settings that I know: setting content-type or charset in web.config -> globalization, from IIS -> HTTP Headers, from @page...
3
2255
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 + "&ChartType=" + drpChartType.SelectedItem.Value.ToLower() + "&Print=" + printVersion.ToString() ... Catch e As Exception
1
3003
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 web site (C#),
14
23179
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, we're looking for a way to display the page with a "please wait..." message while the process is running, and then, when the process is done, update the page with the actual results/page content. We have a page that opens another browser/page...
2
2630
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 defining a "sidebar" area that contains links to pages, and the content for those pages being displayed in a single content area. The sidebar is divided up into sections, that are show/hidden without postbacks using javascript. Here's an example:
1
1492
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: NONE in the Display.CSS and it does not appear on the page. However, I cannot get this statement to print even though my Print.CSS has this object defined to print. I would appreciate suggestions on how to define this in CSS so that the object...
0
10844
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10548
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10591
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10254
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9374
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6979
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4452
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4016
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3115
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.