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.
Unfortunately, activation email could not send to your email. Please try again.

Set proper name for RichTextEditor's hidden input field

Thread ID:





108768 May 10,2013 10:23 AM May 14,2013 12:18 AM ASP.NET MVC (Classic) 1
Tags: Tools
Richard Weyrauch
Asked On May 10, 2013 10:23 AM

Is there any way to change the name of the embedded hidden input field of a #RichTextEditor?
Why isn't this name set correctly in the first place? The id is fine, but the name should be "Script.Content" - then the ModelBinder just sets my property correctly for me on post backs.

@{Html.Syncfusion().RichTextEditor(Html.IdFor(model => model.Content).ToString()).Text(Model.Content).Render();}

produces this:

<input name="Script_Content" id="Script_Content_hiddenField" type="hidden"/>

but I want this:

<input name="Script.Content" id="Script_Content_hiddenField" type="hidden"/>

Varalakshmi R.S [Syncfusion]
Replied On May 14, 2013 12:18 AM

Hi Richard,

Thanks for contacting Syncfusion forums.

This is a known issue and the fix for this issue will be available in our upcoming volume release Essential Studio volume 2,2013. Please check our website periodically to know about our release information.




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.

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.