Nice Editor in ASP .NET
<p>I am developing an app and adding the rich text editor in it but it is not working. I have tried also many other editors like tinyMC or CK Editor but it is also not working. So thats why I am providig the code so that anyone can help me.The Code is following</p>

<pre><code>&lt;%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Tabs.Master" Inherits="System.Web.Mvc.ViewPage&lt;dynamic&gt;" %&gt;

&lt;asp:Content ID="Content1" ContentPlaceHolderID="titleContent" runat="server"&gt;
    PostProblem

&lt;/asp:Content&gt;

&lt;asp:Content ID="Content2" ContentPlaceHolderID="body" runat="server"&gt;
  &lt;script src="http://js.nicedit.com/nicEdit-latest.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;    bkLib.onDomLoaded(nicEditors.allTextAreas);&lt;/script&gt;
 &lt;script type="text/javascript"&gt;

     $("#PostProblem").validate();

    &lt;/script&gt;

     &lt;h3&gt;PostProblem&lt;/h3&gt;
     &lt;br /&gt;

      &lt;% using (Html.BeginForm("PostProblem", "Discussion",  null ,FormMethod.Post, new { id = "PostProblem" }))

        { %&gt;


            &lt;table  class="bodyTable"&gt;
                 &lt;tbody class="rowHover"&gt;
                    &lt;tr&gt;
                        &lt;td class="labelPortion"&gt;
                            Title:
                        &lt;/td&gt;
                        &lt;td class="controlPortion"&gt;
                             &lt;%: Html.RenderControl(new ControlInfo()
                                                    {
                                                        ControlID = 1,
                                                        CanNull = false,
                                                        Type = ControlType.TextField,
                                                        Value = (TempData["__1"] != null) ? TempData["__1"].ToString() : ""
                                                    }, true
                                                    )

                        %&gt;
                        &lt;% // Display the error message if any. 
                            if (TempData["_1"] != null)
                            { %&gt;&lt;br/&gt;
                                &lt;span class="errorMessage"&gt; &lt;%: TempData["_1"]%&gt; &lt;/span&gt;
                        &lt;% } %&gt;

                        &lt;/td&gt;

                    &lt;/tr&gt;
                    &lt;tr&gt;
                        &lt;td class="labelPortion"&gt;
                            Problem:

                        &lt;/td&gt;
                        &lt;td class="controlPortion"&gt;

                             &lt;%: Html.RenderControl(new ControlInfo()
                                                    {
                                                        ControlID = 3,
                                                        CanNull = false,
                                                        Type = ControlType.TextArea,
                                                        Value = (TempData["__3"] != null) ? TempData["__3"].ToString() : ""
                                                    }, true
                                                    )
                             %&gt;  

                        &lt;% // Display the error message if any. 
                            if (TempData["_3"] != null)
                            { %&gt;
                            &lt;br/&gt;
                                &lt;span class="errorMessage"&gt; &lt;%: TempData["_3"]%&gt; &lt;/span&gt;
                        &lt;% } %&gt;
                        &lt;/td&gt;


                    &lt;/tr&gt;
                    &lt;tr&gt;
                        &lt;td class="labelPortion"&gt;
                            &lt;b&gt;Problem Tag:&lt;/b&gt;
                        &lt;/td&gt;
                         &lt;td class="controlPortion"&gt;
                            &lt;%: Html.DropDownList("selectedValue", (IEnumerable&lt;SelectListItem&gt;)ViewData["problemTags"])%&gt;
                        &lt;/td&gt;
                    &lt;/tr&gt;           
                    &lt;tr&gt;
                        &lt;td&gt;
                        &lt;/td&gt;
                        &lt;td&gt;

                             &lt;input class="buttonDesign" type="submit" value="Post"/&gt;
                        &lt;/td&gt;

                    &lt;/tr&gt;

        &lt;/tbody&gt;
        &lt;/table&gt;

        &lt;%} %&gt;

&lt;/asp:Content&gt;
</code></pre>

<p>Please help me.</p>
