Sunday, May 25, 2008

Integrating Fck-Editor


There are Quiet a few HTML -Editors or WYSIWYG(What you see is What you get) Editors avialable on net but I found this a lot more suitable for my website as it is totally free and a full featured Editor. Well this blog is About Integrating Fck-Editor with Visual-Studio to be used on .Net framework.
For Integrating Fck-editor you need to download Fck-editor.net and Fck-Editor script from here.
Then Fire up visual studio 2005/2008 version .
Open the website project you want to integrate this into
Right Click on the project name in Solution Explorer
Add Existing Item
Browse to Folder of Fckeditor.net
Bin->Release->version number(2.0)->FredCK.FCKeditorV2.dll

After adding the binary
Add the fckeditor folder to the project website folder .

And now when you Debug Your program it will show an Error .

The Most Important thing to be done is to change the 'Basepath 'of Fckeditor to '~/fckeditor/'in the properties window .
Adding the ~ sign specifies its location in the root folder.

After this your Editor will work perfectly.

No comments: