This is a migrated thread and some comments may be shown as answers.

RadGrid exposes URL encoding to user on RadEditor

1 Answer 140 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Tadhg
Top achievements
Rank 1
Tadhg asked on 18 Jan 2016, 11:25 AM

I have a page with RadEditor on it with properties:

NewLineMode = EditorNewLineModes.Br;
EditModes = EditModes.Design;

This editor contains data, for example: Before.png

When I inspect the element in the browser, I get:

<textarea name="Master$ContentPlaceHolderBody$UserControlCertificateEditChecks$UserControlCheckPersonalReferenceUKEdit$TextBoxResultWhyCandidate" id="Master_ContentPlaceHolderBody_UserControlCertificateEditChecks_UserControlCheckPersonalReferenceUKEdit_TextBoxResultWhyCandidateTextArea" style="width:100%;height:150px;">Area of familiarity %28Project Manager%29 albeit in a new area.
%3cbr/%3eAble to work well with others and understanding new ways of working.
%3cbr/%3eEnthusiastic.
%3cbr/%3eKeen to succeed.
%3cbr/%3e</textarea>

On the same page is a RadGrid. When the user selects 'Save Changes', on the RadGrid, the RadEditor is updated now the encoding is exposed to the user. See example: After.png

How can I stop this from happening?

1 Answer, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 19 Jan 2016, 06:36 AM
Hello,

RadEditor does not interact somehow with the encoding of the text added. From the information provided it is not clear how RadGrid is involved and what the 'Save Changes' does when selected. In a typical scenario where RadEditor is in an edit template of RadGrid such issue does not occur. You can test that here—http://demos.telerik.com/aspnet-ajax/editor/examples/edittemplate/defaultcs.aspx.

Please, try elaborating more on the case, so that I can properly understand what the case is. It would be very helpful if you can also isolate the case in a simple, locally runnable project and provide it as attachment. 

Regards,
Ianko
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Editor
Asked by
Tadhg
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Share this question
or