HTML Extender Editor --JavaScript runtime error: Invalid argument. in IE11 RRS feed

  • Question

  • User799237809 posted

    This is the line that is erroring in the ajax toolkit: b.collapse(this._editableDiv.firstChild,t)

    Thursday, January 14, 2016 9:05 AM


  • User-986267747 posted

    Hi SatyaSM,

    HTML Extender Editor --JavaScript runtime error: Invalid argument

    I use the HTML Extender Editor that the version of the Ajax Control Toolkis is v15.1, i create a demo with the control and it works fine in IE11.

    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm19.aspx.cs" Inherits="GridViewAppear.WebForm19" %>
    <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
    <!DOCTYPE html>
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <form id="form1" runat="server">
            <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
            <asp:TextBox ID="TextBoxEditHTML" runat="server" Width="1150px" Height="550px"></asp:TextBox>
               <ajaxToolkit:HtmlEditorExtender ID="HtmlEditorExtender1" runat="server" TargetControlID="TextBoxEditHTML" EnableSanitization="False">
                                            <ajaxToolkit:Bold />
                                            <ajaxToolkit:Italic />
                                            <ajaxToolkit:Underline />
                                            <ajaxToolkit:StrikeThrough />
                                            <ajaxToolkit:Subscript />
                                            <ajaxToolkit:Superscript />
                                            <ajaxToolkit:HorizontalSeparator />
                                            <ajaxToolkit:JustifyLeft />
                                            <ajaxToolkit:JustifyCenter />
                                            <ajaxToolkit:JustifyRight />
                                            <ajaxToolkit:JustifyFull />
                                            <ajaxToolkit:Indent />
                                            <ajaxToolkit:InsertOrderedList />
                                            <ajaxToolkit:InsertUnorderedList />
                                            <ajaxToolkit:HorizontalSeparator />
                                            <ajaxToolkit:SelectAll />
                                            <ajaxToolkit:UnSelect />
                                            <ajaxToolkit:Copy />
                                            <ajaxToolkit:Cut />
                                            <ajaxToolkit:Delete />
                                            <ajaxToolkit:Paste />
                                            <ajaxToolkit:RemoveFormat />
                                            <ajaxToolkit:HorizontalSeparator />
                                            <ajaxToolkit:Undo />
                                            <ajaxToolkit:Redo />
                                            <ajaxToolkit:HorizontalSeparator />
                                            <ajaxToolkit:BackgroundColorSelector />
                                            <ajaxToolkit:ForeColorSelector />
                                            <ajaxToolkit:FontNameSelector />
                                            <ajaxToolkit:FontSizeSelector />

    So i search some website using google and i find that you might get this problem when you use the old versions of tookit, you could refer to the following solution to sovle it.


    Best Regards,

    Klein zhang

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, January 14, 2016 9:30 AM