How to use ckeditor in mvc.

Total Post:36


JQuery  Mvc 
 1284  View(s)
Rate this:
We want to use  ckeditor .js in mvc project please help me. 
  1. Re: How to use ckeditor in mvc.

    i hope this will  help for you. 

        ViewBag.Title = "Index";
    <script src=""></script>
    <script src=""></script>
    <script src=""></script>
    @using (Html.BeginForm("Index","Home",FormMethod.Post))
    <div style="width:1000px;">
        <textarea name="TextArea1" id="TextArea1" cols="20" rows="2"></textarea>
        <input id="Submit1" type="submit" value="submit" />
            height: "300px",
            toolbarStartupExpanded: true,
            width: "100%"

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Web.Mvc;
    namespace Forum.Controllers
        public class HomeController : Controller
            public ActionResult Index()
                return View();
            [HttpPost, ValidateInput(false)]
            public ActionResult Index( FormCollection form)
                var data = form["TextArea1"];
                return View("Index");


Please check, If you want to make this post sponsored

You are not a Sponsored Member. Click Here to Subscribe the Membership.