The forum operates in read-only mode. Please head to StackOverflow for support.
<% using (Html.BeginForm("ReplyPost", "forum", new { parentPostId = Model.PostID }, FormMethod.Post)) { %> <dl> <dt class="topic_label"><label for="topicContent">Topic Content:</label></dt> <dd class="topic_box"><%=Html.TextArea("body", "", 5, 40,null) %></dd> <script type="text/javascript"> //<![CDATA[ CKEDITOR.replace('body', { //extraPlugins: 'uicolor', width: '630px', height: '100px', resize_enabled: false, toolbar: [ ['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink'] ] }); //]]> </script>
Re: .NET From FCKEditor TextBox to database
<% using (Html.BeginForm("ReplyPost", "forum", new { parentPostId = Model.PostID }, FormMethod.Post)) { %> <dl> <dt class="topic_label"><label for="topicContent">Topic Content:</label></dt> <dd class="topic_box"><%=Html.TextArea("body", "", 5, 40,null) %></dd> <script type="text/javascript"> //<![CDATA[ CKEDITOR.replace('body', { //extraPlugins: 'uicolor', width: '630px', height: '100px', resize_enabled: false, toolbar: [ ['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink'] ] }); //]]> </script>http://msdn.microsoft.com/en-us/library/dd410596.aspx
Re: .NET From FCKEditor TextBox to database
I dont get it, where is the submit button, where is the controller method that does the data writing (how does it get whats in the fckeditor)?
Re: .NET From FCKEditor TextBox to database