What is CKEditor? CKEditor is a ready to use HTML text editor designed to simplify web content creation. At first download the latest version of CKEditor from CKDownload where you can choose the package you required. They have three packages Basic, Standard and Full.
Now create a new Asp.Net Empty Web Application. Add ckeditor folder inside your application.
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TestPage.aspx.cs" Inherits="CKEditorInAspNet.TestPage" %>
<form id="form1" runat="server">
<asp:TextBox ID="txtCKEditor" runat="server" TextMode="MultiLine" Columns="60" Rows="10" class="ckeditor"></asp:TextBox>
In your code behind file you can get the text of CKEditor in same way as the normal textbox.
string str = txtCKEditor.Text;
Source Code : CKEditorInASPNet
Please Like and Share the Blog, if you find it interesting and helpful.
You may also like :
Casting with is and as operators in C#
Definition and Use of Indexes
Dot Net : All types are derived from System.Object
All you want to know about Common Language Run Time (CLR)
Null Coalescing operator (??) in C#
All about MongoDB Collections
How to improve Asp.Net Application Performance - Part 2
Write text files without Byte Order Mark.
Dictionary Vs Hashtable
C# NullReferenceException : Object reference not set to an instance of an object