RadGrid exposes URL encoding to user on RadEditor

2 posts, 0 answers
  1. Tadhg
    Tadhg avatar
    1 posts
    Member since:
    Jan 2016

    Posted 18 Jan 2016 Link to this post

    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/%3eKeen to succeed.

    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?

  2. Ianko
    Ianko avatar
    1729 posts

    Posted 19 Jan 2016 Link to this post


    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. 

    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
Back to Top