While providing the user with something to input free text in, sometimes you may need to go beyond the normal text area. For example, you may need to give the user the flexibility to better format their input and insert a smiley
There are many Rich Text Editors (RTEs) available for this purpose. Many of them are free for personal use (For commercial use, you may have to buy a license).One of the mostpopular ones is FCKeditor which you can download and use (free for non-commercial use). Here’s how:
Visit http://www.fckeditor.net/downloadand download FCKeditor 2.6.4 & FCKeditor.Net / FCKeditor.Java (For .NET / Java).On unzip, you will find an fckeditor folder. Copy it to your own Project Folder and add the reference to the Fckeditor.js file
I. Add as a control to your .NET Editor
Unzip the FCKeditor.net folder.For adding it to your editor as a control, create a new tab and on choose component add browseFckeditor.Net_2.6.3\bin\Release\2.0\FredCK.FCKeditorV2.dll or you can copy it to a specified folder and set the reference from there.
Now you can drag and drop the control to your page and play with it!
II. ::You also can do this thing by creating the object of FckEditor
Add these lines to your codes:
var oFCKeditor = new FCKeditor( ‘FCKeditor1’ ) ;
oFCKeditor.BasePath = sBasePath ;
III. ::Yet another approach to do this is by replacing the TextArea with the FckEditor