Cyprich.com

Occasionally Relevant Insights from a Software Builder

By

Using FCKEditor in ASP.NET 3.5

FCKEditor is a text editor that you can use in a web page. It has many more options than the text input boxes in HTML. This is a WYSIWYG editor and resembles desktop applications like Microsoft Word.

It supports multiple languages, but if you want to use it in an ASP.NET site, the ASP.NET control for it is required. The problem here is that the documentation doesn’t fully explain how to use it in an ASP.NET 3.5 page.

Setting Up FCKEditor

You need to download the FCKEditor code, currently at version 2.6.6 and then the ASP.NET control to work with it. Open the ASP.NET page and place the following code below the <% Page Language … %> section to register the control:

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>

To display an FCKEditor text box, place the following on the page:

<FCKeditorV2:FCKeditor ID="FCKeditor1" BasePath="~/fckeditor/" runat="server" Height="400" Width="800"></FCKeditorV2:FCKeditor>

The following control should then appear on your page. There are many options to customize the editor which depends on the application that its being used in.

Editing Text With FCKEditor

You can download FCKEditor at http://ckeditor.com/.

One Response to Using FCKEditor in ASP.NET 3.5

  1. Pingback: Tweets that mention Using FCKEditor in ASP.NET 3.5 | cyprich.com -- Topsy.com

Leave a Reply

Your email address will not be published. Required fields are marked *