Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8680367
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T21:13:55+00:00 2026-06-12T21:13:55+00:00

So I have installed ckeditor on my project. The control loads fine and you

  • 0

So I have installed ckeditor on my project. The control loads fine and you are able to view it. The error occurs when you type something in the textarea. The ‘Next’ button doesn’t work. If there is no text in the textarea the ‘Next’ button works just fine. When there is text and you press the ‘Next’ button, I am also noticing these errors in the browser.

EDIT: Please note that the View here is a Partial View.

Error in Browser

I am using ckeditor 3.6.4. I installed it using Nuget. I have the proper files that came with it.

In my _Shared/Layout Files I include the following:

<script type="text/javascript" src="@Url.Content("~/Scripts/ckeditor/ckeditor.js")"></script>
<script type="text/javascript" src="@Url.Content("~/Scripts/ckeditor/adapters/jquery.js")"></script>

In my View I have the following:

@using (Ajax.BeginForm("SomeAction", "SomeController", new { id = Model.Id}, new AjaxOptions { HttpMethod = "Post", UpdateTargetId = "dynamicData", InsertionMode = InsertionMode.Replace }))
        {
            <div class="grid_6">
                @Html.TextAreaFor(x => x.SomeText, new { @class = "someTextArea" })
            </div>

            <div class="grid_6 alpha omega">
                <input type="submit" value="Next" class="grid_6 alpha omega button drop_4 gravity_5" />
            </div>
        }

and in my javascript I have the following:

<script type="text/javascript">
    $(function () {
        ReBindCKEditor();
    });

    function BindCKEditor() {
        var elem = $('#SomeText');
        elem.ckeditor(function () { }, { toolbar: [
        ['Source'],
        ['Preview'],
        ['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Scayt'],
        ['Undo', 'Redo', '-', 'Find', 'Replace', '-', 'SelectAll', 'RemoveFormat'],
        ['Image', 'Table', 'HorizontalRule'],
        ['Styles', 'Format'],
        ['Bold', 'Italic', 'Strike'],
        ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', 'Blockquote'],
        ['Link', 'Unlink', 'Anchor']
        ]
        });
    }

    function ReBindCKEditor() {
        delete CKEDITOR.instances['SomeText'];
        BindCKEditor();
    }
</script>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T21:13:56+00:00Added an answer on June 12, 2026 at 9:13 pm

    Before submitting you need to update the hidden text fields ckeditor uses. This can be done with

    for ( instance in CKEDITOR.instances )
        CKEDITOR.instances[instance].updateElement();
    

    Say you wrap this in a javascript function called BeforeSubmittingCKEditor to follow your naming above, then you could add to your BeginForm the following hook

    OnBegin = "BeforeSubmittingCKEditor"
    

    so your AjaxOptions would look something like this:

    new AjaxOptions { HttpMethod = "Post", 
                      UpdateTargetId = "dynamicData", 
                      InsertionMode = InsertionMode.Replace,
                      OnBegin = "BeforeSubmittingCKEditor" }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have installed ckeditor into my asp.mvc project, now i need to implement just
I have installed Android SDK and packages. Since I had an error when opening
I have installed Grunt & Bower & I'm using ZSH. when I type bower
Im using FCK Editor control instead a textarea element. I installed it without problems.
I have installed cURB library for my rails 2 application and I am able
I have installed gitorious ruby application, configured apache passenger and vhost. Everything works fine
I have installed new site in Joomla 1.7 and its working fine, but when
I have installed google adwords tracking on the success.phtml I am able to track
I have installed the latest ckeditor with jquery adapter, but I cannot use its
Did anybody face to such issue? I have CKEditor completely installed and worked BUT

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.