We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Saving Content of RichTextEditor in Edit Controller [HttpPost]

Thread ID:





107445 Mar 2,2013 04:51 AM UTC Mar 4,2013 07:21 AM UTC ASP.NET MVC (Classic) 1
Tags: Tools
Marie CG
Asked On March 2, 2013 04:51 AM UTC

I am using @Html.Syncfusion().RichTextEditor("RTE").Text(Model.Definition).ShowHtmlSource(false).AllowEdit(true) in my View/Edit.cshtml and the data is displayed fine.
Then, I would like to save my changes.  I am having difficulty retrieve the "RTE" content in the Edit Controller [HttpPost] using the following:
public ActionResult Edit(int id, FormCollection formCollection, string[] selectedPulldownData)
In the debugger, I can see the formCollection["RTE"] value but is unable to retrieve the Rich Text Content.
Sorry if this is a simple question.  I am new at MVC/RAZOR/Syncfusion and in the process of trying to learn them all at the same time. Help!

Varalakshmi R.S [Syncfusion]
Replied On March 4, 2013 07:21 AM UTC

Hi Marie,


Thanks for contacting Syncfusion forums.


We suggest you to use RichTextControl ‘s id in action arguments for retrieving the content of RTE. Please refer the below code snippet to achieve this,







        public ActionResult Edit(int id, string RTE, string[] selectedPulldownData)


            //RTE returns the content in RichTextEditor




Kindly try the above suggested solution and let us know if it helps.





This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon