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. Image for the cookie policy date

Set proper name for RichTextEditor's hidden input field

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"/>

1 Reply

VR Varalakshmi R.S Syncfusion Team May 14, 2013 04:18 AM UTC

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.



Live Chat Icon For mobile
Up arrow icon