bAN
bAN

Reputation: 13825

Why this CKEditor control doesn't work well?

I'm trying to use this wysiwyg editor in an asp.net application. But It doesn't work..

So I add reference to the DLL and make this asp code:

<%@ Page MasterPageFile="~/Site.master" Language="C#" AutoEventWireup="true" CodeBehind="test.aspx.cs" Inherits="test" Title="Tests" %>
<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>




<asp:Content ID="headContent" ContentPlaceHolderID="HeadContent" runat ="server" >


</asp:Content>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<div>

  <CKEditor:CKEditorControl ID="test" runat="server">test</CKEditor:CKEditorControl>   


</div>

</asp:Content>

And the result is

enter image description here

So it seems it is missign something.. I try to add TooBar = "Full" in the control's properties but it doen't work. Can someone using this control help me? Thanks a lot

Upvotes: 0

Views: 2846

Answers (3)

Kiarash
Kiarash

Reputation: 1889

Also the default location for ckeditor which contains all js ,css and image files is in the website root and if you miss this you can only the textarea without style hope it helps others to change the default path of ckeditor folder use BasePath property

Upvotes: 1

rand
rand

Reputation: 1

I might be a bit late on responding, but ensure you have copied the ckeditor folder into your solution.

Absolute Beginner's CKEditor for ASP.NET Control Integration Guide

Upvotes: 0

jirkamat
jirkamat

Reputation: 1788

I would check whether some Javascript errors occur on page loading. They can provide information about the problem - missing some JS files of CKEditor etc.

Upvotes: 4

Related Questions