473,698 Members | 2,737 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 7244
=?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
15811
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
1385
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
5038
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
6282
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
1131
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
2247
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
2978
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
23154
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
2619
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
1485
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
8683
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8610
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9170
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
9031
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...
0
8873
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...
1
6528
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5862
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();...
0
4372
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2339
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.