CKEditor – a Free Web Text Editor in ASP.NET

Download CKEDITOR  from http://ckeditor.com/download

In your asp.net page and in header tag add :

<head>

<script type=”text/javascript” src=”ckeditor/ckeditor.js”> </script>

<script type=”text/javascript”>

     window.onload=function()

     {

     CKEDITOR.replace(‘TextBox1’);

     }

 </script>

 </head>

Then in body tag replace TextBox instead of textarea which comes in Docs and sample code:

<body>

<asp:TextBox ID=”TextBox1″ TextMode=”MultiLine” runat=”server”>

</asp:TextBox>

</body>

Ahmed.

Advertisements

About Ahmed

Software craftsman, programmer, developer, system/business analyst, DBA and PM.
This entry was posted in free software, Rich Text Editor and tagged , . Bookmark the permalink.

One Response to CKEditor – a Free Web Text Editor in ASP.NET

  1. Just wish to say your article is as astonishing. The clarity in your post is just spectacular
    and i can assume you’re an expert on this subject. Well with your permission let me to grab your RSS feed to keep up to date with forthcoming post. Thanks a million and please keep up the enjoyable work.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s