Sunday, April 26, 2009

Fck editor and ASP.NET

In this article we will look how fck editor can be integrated in our ASP.NET applications. To get it work we need to do the following:

Download and compile the fck editor for .net project.
Dowlnload and place the scripts folder fckeditor in the root directory. If you want to place it in subfolder you need to change the path to resources (config file).

After that you need to reference the FCK assembly and you can use it on the page:

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<fckeditorv2:fckeditor id="FCKeditorExample" runat="server"/>

And we are ready to go:

Enjoy the Power of FCKEditor.