Won't Fix
Last Updated: 02 Jul 2019 07:21 by ADMIN
ADMIN
Ianko
Created on: 28 Aug 2014 11:47
Category: Grid
Type: Bug Report
0
HTML editing in Batch edit mode always results to plain text and strips all HTML tags
When trying to batch edit cell values of the Grid via e.g., RadEditor (GridHTMLEditorColumn or RadEditor in EditItemTemplate of GridTemplateColumn) the cell value always result to a plain text. 
4 comments
ADMIN
Rumen
Posted on: 02 Jul 2019 07:21
Hi Arvind,

You can disable the filters using the approach below:

<telerik:RadEditor ID="RadEditor1" runat="server" OnClientLoad="OnClientLoad">
</telerik:RadEditor>
    
<script type="text/javascript">
    function OnClientLoad(editor, args) {
        editor.get_filtersManager().getFilterByName("MozillaKeepStylesString").set_enabled(false);
        editor.get_filtersManager().getFilterByName("MetaTagAttributesFilter").set_enabled(false);
        editor.get_filtersManager().getFilterByName("[Set_Here_Filter_Name]").set_enabled(false);
    }
</script>


Regards,
Rumen
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Arvind
Posted on: 25 Aug 2017 06:18
In batch edit mode when we edit Rad editor control cell it  throws client side alert error if we have html tag as value.
Error like

Error while executing filter StripScriptsFilter - TypeError: Cannot read property 'replace' of null
Error while executing filter EncodeScriptsFilter - TypeError: Cannot read property 'replace' of null
Error while executing filter StripCssExpressionsFilter - TypeError: Cannot read property 'replace' of null
Error while executing filter MozillaKeepStylesString - TypeError: Cannot read property 'replace' of null
Error while executing filter MozEmStrongFilter - TypeError: Cannot read property 'replace' of null
Error while executing filter ConvertTagsFilter - TypeError: Cannot read property 'replace' of null
Error while executing filter MetaTagAttributesFilter - TypeError: Cannot read property 'replace' of null
ADMIN
Angel Petrov
Posted on: 07 May 2015 14:11
This is the design behavior of the batch editing mechanism and changing it will introduce a breaking change which is not desirable. In order to use HTML to edit the grid contents you can manually handle the editing process as demonstrated in this code library - http://www.telerik.com/support/code-library/performing-updates-inserts-containing-html-for-a-batch-editing-grid
Frank
Posted on: 28 Aug 2014 14:49
It would be great if when this is fixed, in addition to saving the raw HTML, any comments or tracked changes (which are visible when viewing the HTML mode in the Editor) would also be sent as part of the newValues collection.