Home Jobs | Partners | Support | Downloads
25 July 2008
Home|About Us|Products + Services|Our Clients |Pricing|Contact Us
Tel 02890 436633
TECHNICAL INFO
IRP Specifications
Your are in > Export Technologies > RTE Download

Download the (RTE) V0.9.5.3

RTE Download
RTE Overview
System Requirements
Features And Demo
User Information
Technical Information
Set Up Guidelines
Sample Code & Quickstart


Rich Text Editor
Choose Download
 
Download Info
File Name RTE V0.9.5.3
Release Notes [Click Here]
Download Size 28.2KB
Date Published 2 June 2004
Version 0.9.5.3
Programmed In C# for .Net


RTE Overview

The RTE is an ideal free ASP.net editor for a serious business environment. It is lightweight 'Word' style editor, easy to use - and simple for developers to integrate in their applications. It has all the essential editing functionality yet keeps its simplicity.

The Rich Text Editor is a free ASP.Net drag and drop web control. It enables the addition of Rich Content as HTML to any website from an Internet Explorer browser. A fully functional version can be downloaded from this page for use by any developer in their application.

Users can format the content of a form with bullet points, tables and headings, images and hyperlinks - before submitting the work they have created. It is easy to set up, and easy to use. The RTE is an ideal part of any web based content management system (CMS), and requires no knowledge of HTML.

It is completely FREE to download, there is no trial period, and your feedback for improvements will be responded to as this product is updated.

The RTE is updated and released in response to user feedback. Enter your email address opposite if you wish to receive notification of the next release.

* Export Technologies do not send unsolicited mail or forward information to any 3rd parties.

System Requirements
  • Windows Operating System with .Net Framework installed
  • Internet Explorer 5.5+
  • Requires JavaScript enabled on browser
or forward information to any 3rd parties.

Features And Demo
  1. Easy to add into ASP.Net pages - paste one line of code, or add use drag-and-drop using Visual Studio
  2. Easy to create rich content - any user familiar with Word can use the RTE
  3. Incorporate Style Sheets - control what kind of formatting is available to keep a consistent style
  4. Edit the HTML created - more advanced user can toggle between html and visual mode
  5. Allows addition of pictures to the HTML as links
  6. Multiple instances of the control work on any ASP.Net page
  7. Save your content- the HTML content can be submitted and saved as required
Try the RTE online now and download it for free for your own ASP.Net website.
User Information

Enter text, bullet points, lists or tables into the RTE -then click the various RTE icons to format the content being entered. The content can then be submitted by clicking on the "submit" button. The content is submitted as HTML, and after submission it can be accessed in a similar way to catching a form entry. The HTML produced by the RTE can be used within an web application as the basis of the content of any webpage. A common use of the RTE within a Content Management System would be content formatted and submitted by the RTE into a database from an admin page, and then read back from a different page within the website.


Technical Information

In ASP.Net pages the optional exposed public properties for use are:

Property Datatype Description
Height Unit The height that the RTE will appear as on a webpage in pixels.
Width Unit The width that the RTE will appear as on a webpage in pixels.
StyleSheetUrl string The relative URL of a stylesheet if stylesheets are required in the RTE.
Text string The Text that is contained within the RTE box. Used to capture the html content of the RTE when it is submitted.
TextOrientation string The direction of text within the editor. Takes two values: 'RTL' which orientates text right-to-left or 'LTR' which causes the text to write from left-to-right.
EditorStyle string The appearance of the editor can be changed. This takes three values 'Standard','Khaki' or 'Olive.' The default is 'Standard'.
RTEResourcesUrl string This represents the URL path to the RTEResources directory. This can be set by the designer. The default value is "RTE_Resources/".
AdditionalFont string An additional font can be added to the font list by means of this property.
ReadOnly bool The RTE can be set to readonly mode so as stop all user input. The default is 'false'.
HtmlModeTitle string Get and set the title of the HtmlMode view. The default is 'HTML'.
HtmlModeTitleCssClass string Get and set the css class to style the title of the HtmlMode view. The default is null.
OverrideReturnKey bool This will stop the insertion of <p> tags into the text upon press of the carriage return key. A single <br> tag is inserted instead. The default is 'false'.
BackGroundColor Color Get and set the background color of the RTE's edit area. Note this property can also be set on the client side by use of the 'Background Color' button. The default is Color.White.
Hide ~ bool All buttons, toolbars, dropdowns and inputs can now be hidden. By default they are set to false, except for the HideWebPageEdit function
   
Hide Button Properties:

HideAbout - Hide the 'About' button
HideBackgroundColor - Hide the 'Background Color' button
HideBold - Hide the 'Bold' button
HideBulletedList - Hide the 'Bulleted List' button
HideCenter - Hide the 'Center Align' button
HideInsertDate - Hide the 'Insert Date' button
HideInsertImage - Hide the 'Insert Image' button
HideInsertLink - Hide the 'Insert Link' button
HideInsertTable - Hide the 'Insert Table' button
HideItalic - Hide the 'Hide Italic' button
HideJustify - Hide the 'Justify' function
HideLeft - Hide the 'Left Align' dropdown
HideOrderedList - Hide the 'Ordered List' button
HideRemoveFormatting - Hide the 'Remove Formatting' button

Hide Dropdown Properties:

HideFontSelection - Hide the 'Font Selection' dropdown
HideFontSizeSelection - Hide the 'Font Size Selection' dropdown
HideHeaderSelection - Hide the 'Header Selection' dropdown
HideStyleSheetSelection - Hide the 'Style Sheet Selection' dropdown

Hide Toolbar Properties:

HideToolBars - Hide all toolbars
HideToolBar1 - Hide the very top toolbar
HideToolBar2 - Hide the middle toolbar
HideToolBar3 - Hide the bottom toolbar

Hide Function Properties

HideEditWebPage - Hide the 'Edit Web Page' function. Note turned off by default.


Setup Guidelines

The concepts in getting the RTE component to work on your website are easy to understand for any ASP.Net programmer.
  1. Download the files at the top of this page, set up an IIS virtual directory on your local machine. e.g., set up a directory in IIS called "RTE" (or some other suitable name).
  2. Unzip all the folders from the Zip file into the virtual directory (or FTP to your server after unzipping). Ensure you copy all of the folders over as they contain JavaScript files and images used in the RTE. The dll in the bin directory should be in the TOP directory of any application. If it is not then make sure you paste the dll into the correct directory.
  3. Go to the directory e.g., "http://localhost/RTE/Edit.aspx" to view the RTE.
  4. Incorporate the same ideas in ASP.Net applications.

Sample Code & QuickStart: How to use the RTE in your site

RTE quick start

1. Within the downloaded zip file you will find a bin and RTE_Resources directories. From the bin directory remove the RichTextEditor.dll file and add this to the bin directory of your project. Also add the RTE_Resources directory to your project.

2. Add the following directive at the top of the page you want the RTE to appear in

<%@ Register TagPrefix="ExportTechnologies" Namespace= "ExportTechnologies.WebControls.RTE" Assembly= "ExportTechnologies.WebControls.RTE" %>

3. Add the following line to the place in the page where you want the RichTextEditor to appear

<ExportTechnologies:RichTextEditor ID="RichTextEditor1" runat="server"/>

Working with the RTE's properties

The RTE has 32 properties which can be set during design time.

To set the width and height of the control, add the following attributes to the RTE tag:

<ExportTechnologies:RichTextEditor ID="RichTextEditor1" height="450px" width="200px" runat="server"/>


The RTE can also add a drop down list of CSS classes within a style sheet to its interface. To do this you must set the StyleSheetUrl to point to a CSS style sheet within your project. The tilde symbol (~) refers always to the root directory of the application. If you do use the above property, ensure that the stylesheet is available to the html page which contains the RTE, by adding a link to the styleheet between the pages <head/> tags.

<ExportTechnologies:RichTextEditor ID="RichTextEditor1" StyleSheetUrl="~/Style/style.css" runat="server"/>


The text direction of the RTE can be reversed with the TextOrientation attribute. This takes two values: RTL (Right-To-Left) and LTR (Left-To-Right) which is the default value.

<ExportTechnologies:RichTextEditor ID="RichTextEditor1" TextOrientation="RTL" runat="server"/>


The RTE's appearance can be customized by means of the EditorStyle attribute. There are three options available:
.
standard standard
khaki khaki
Olive olive

standard is the default. The appearance is changed as follows:

<ExportTechnologies:RichTextEditor ID="RichTextEditor1" EditorStyle="khaki" runat="server"/>


The RTE can be 'turned off' to user input through the ReadOnly property. Setting it to true will disable users from entering/editing html.

<ExportTechnologies:RichTextEditor ID="RichTextEditor1" ReadOnly="true" runat="server"/>


All the RTE's features can now be hidden via properties. The following image shows the middle toolbar has been hidden:
Middle toolbar hidden
The code example below will turn off the middle toolbar:

<ExportTechnologies:RichTextEditor ID="RichTextEditor1" HideToolBar2="true" runat="server"/>


The RTE can now be used to edit/view the source of a web page. To do this, you must set the property HideWebPage to false, as it is turned off by default. This will add an input box and button to the middle toolbar. Enter the url of the web page whose code you want to view in the text box, and press the button. In the image below, 'http://yahoo.com' has been entered, and the site has appeared in the editor.

Middle toolbar hidden

Please note that some sites may not show properly within the editor. Also it is highly recommended that this feature is used as an admin feature, and not open to all users to use.

The title of the HtmlMode view can now be set and styled via the HtmlModeTitle and the HtmlModeTitleCssClass.
HtmlMode title


<ExportTechnologies:RichTextEditor ID="RichTextEditor1" HtmlModeTitleCssClass="title1" runat="server"/>



The output of the RTE can be set/retrieved using the Text property. To the page containing the RTE, drop in an <asp:label/> and an <asp:button/>. Add a reference to the RTE assembly by:
  1. In Visual Studio's Solution Explorer, right click 'References' and select 'Add Reference..'
  2. In the '.Net' tab, click the 'Browse..' button and locate the ExportTechnologies.WebControls.RTE.dll file
  3. Click 'OK' the reference to the assembly to your project
In the code behind for the button add the following:

C#

Add an using directive:
using ExportTechnologies.WebControls.RTE;
Declare the name of the RTE object:
protected ExportTechnologies.WebControls.RTE.RichTextEditor RichTextEditor1;
Code the onclick button event:
private void Button1_Click(object sender, System.EventArgs e)
{
   Label1.Text = RichTextEditor1.Text;
}


VB.NET

Add an import directive:
imports ExportTechnologies.WebControls.RTE
Declare the name of the RTE object:
Protected RichTextEditor1 as ExportTechnologies.WebControls.RTE.RichTextEditor
Code the onclick button event:
Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs)
   Label1.Text = RichTextEditor1.Text
End Sub


This page will be updated with support and new releases of the product, all suggestions and emails are welcome to make the set up process as easy as possible. Support@exporttechnologies.com





Industry News
Export Technologies Complete Marketplace Software Platform "TradeTalk"
The development of a marketplace platform is completed by Export Technologies with rapid adoption from Buyers and Sellers.


Export Technologies Sign Deals in New Product Markets For IRP E-Commerce Platform
The IRP now powers systems in new markets including musical retail, skiing, marine chandelry, herbal remedies and camping...


Shortlisted For International Business Award 2007
Export Technologies are short listed for International Business Award along side F.G. Wilson and Lagan Technologies...


Short Listed For Web Development Company 2006
Export Technologies are short listed for web award.


Export Technologies sign deal with major UK fishing company.
Daniel Loughlin of Export said "We were pleased that a major UK company would go with us purely on the strength of our IRP Platform..."


Export Technologies Sponsor World Series MTB Contender
The company's rider appears on the podium...


Upcoming Events
An update of events and trade shows that Export Technologies will be visiting over the course of the next few months will be posted here.




T +44 2890 436633 E | info@exporttechnologies.com | ©Export Technologies 2008