Monday, 15 July 2013

Integrating FCKEditor in C#.NET

Integrating FCKEditor in C#.NET



In this article I am going to implement FCK Editor in C#.NET Application. Perhaps many of you guys aware of FCKEditor, but let me tell you if some of you guys dont know about FCKEditorCKEditor (formerly FCKeditor) is an open source WYSIWYG text editor from CKSource that can be used in web pages. It aims to be lightweight and requires no client-side installation. Today I will tell you  that how to implementFCKEditor in your .NET Application.



How to Intregate FCKEditor
To Integrate FCKEditor into your C#.NET Application you have to follow the following steps:-

Step 1

Download the FCKeditor. Free Download

Step 2

Unzip the package and put in your project content directory. I like to make a directoryJavascript under Content directory and put unzipped fckeditor here. I have also putfckeditorapi.js in Javascript folder. You can get more information on FCKeditor API.Visit for API

Step 3

In Fck.aspx, include the fckeditor.js and fckeditorapi.js file:
<script type="text/javascript" src="../../Content/Javascript/fckeditor
/fckeditor.js"></script>
<script type="text/javascript" src="../../Content/Javascript/
fckeditorapi.js"></script>

1 comment: