To integrate ckeditor into your ASP. NET page, follow these steps:
- Go to the official ckeditor
Download Site and download the latest versionCkeditor 3.xAndCkeditor for ASP. NET control.
- Decompress the two installation packages to the specified location.
- Add ckeditor for ASP. Net Control Reference to your website.
-
Use in Visual Studio
Add ApplicationCommand to browse from the decompressed ckeditor for ASP. NET
Bin \ release \ ckeditor. net. dll file. You can also manually place the DLL file in your application.
bin
Folder.
- From the ckeditor 3. x installation package, place the extracted files to your website application directory.
- Register ckeditor for ASP. NET on your page:
-
<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>
- Add a ckeditor instance to the page:
-
<CKEditor:CKEditorControl ID="CKEditor1" BasePath="/ckeditor/" runat="server"></CKEditor:CKEditorControl>
-
(Where
Basepath points
Ckeditor folder)
A project with ckeditory may look like the following. When running an application through a browser, you can use all the functions of the editor.
Visual Studio project example with ckeditor