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

RadEditor javascript error on postback - 2016 R3 SP1

5 Answers 67 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 19 Oct 2016, 05:22 PM

I installed the most recent version of UI for ASP.net R3 2016 SP1 (2016.3.1018). The update did fix the radGrid filter autopostback issue, which was good.

 

What is now happening is any page with a RadEditor on it causes a Javascript error on a postback. I'm attaching a screencap showing the error popping up. Browser is Chrome Canary. Also happens in Chrome and Edge.

 

The exact text of the error is as follows: 

TypeError: this._contextMenuFunctionality.dispose is not a function
 /Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3af9ecfe64-7d94-4875-a470-9996e4d00a9f%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2016.3.1018.45%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a761f4fed-131d-4f69-96f1-760ff0e34523%3a16e4e7cd%3a33715776%3a4877f69a%3a86526ba7%3a874f8ea2%3af7645509%3a24ee1bba%3ac128760b%3a19620875%3af46195d3%3acda80b3%3a383e4ce8%3aed16cbdc%3ae330518b%3a2003d0b8%3a1e771326%3a88144a7a%3ac8618e41%3a1a73651d%3a333f8d94%3ab2e06756%3a92fe8ea0%3afa31b949%3a490a9d4e%3abd8f85e4%3a52af31a4%3a5fa37e7e%3aaa288e2d%3a258f1c72%3a8674cba1%3a7c926187%3ab7778d6c%3ac08e9f8a%3a59462f1%3aa51ee93e%3a3856fd9f%3adc7e0bd%3a63b115ed%3a1569bb5f%3a30f1f089:35698

-------------

I'm also including the control definition for your reference. This and other pages/sites with the same RadEditor all worked prior to applying the Service Pack 1.

 

<%--                            <telerik:RadEditor ID="txtAnnotation" runat="server" AutoResizeHeight="True" EnableResize="False" Height="175px" RenderMode="classic"
                                ToolbarMode="ShowOnFocus" Width="100%">
                                <Tools>
                                    <telerik:EditorToolGroup Tag="InsertToolbar">
                                        <telerik:EditorTool Name="AjaxSpellCheck" />
                                        <telerik:EditorSeparator />
                                        <telerik:EditorToolStrip Name="InsertTable">
                                        </telerik:EditorToolStrip>
                                        <telerik:EditorTool Name="InsertRowAbove" />
                                        <telerik:EditorTool Name="InsertRowBelow" />
                                        <telerik:EditorTool Name="DeleteRow" />
                                        <telerik:EditorTool Name="InsertColumnLeft" />
                                        <telerik:EditorTool Name="InsertColumnRight" />
                                        <telerik:EditorTool Name="DeleteColumn" />
                                        <telerik:EditorSeparator />
                                        <telerik:EditorTool Name="MergeColumns" />
                                        <telerik:EditorTool Name="MergeRows" />
                                        <telerik:EditorSeparator />
                                        <telerik:EditorTool Name="SplitCell" />
                                        <telerik:EditorTool Name="SplitCellHorizontal" />
                                        <telerik:EditorTool Name="DeleteCell" />
                                        <telerik:EditorTool Name="SetCellProperties" />
                                        <telerik:EditorTool Name="SetTableProperties" />
                                        <telerik:EditorSeparator />
                                        <telerik:EditorSplitButton Name="InsertSymbol">
                                        </telerik:EditorSplitButton>
                                    </telerik:EditorToolGroup>
                                    <telerik:EditorToolGroup Tag="Formatting">
                                        <telerik:EditorTool Name="Bold" />
                                        <telerik:EditorTool Name="Italic" />
                                        <telerik:EditorTool Name="Underline" />
                                        <telerik:EditorTool Name="StrikeThrough" />
                                        <telerik:EditorSplitButton Name="ForeColor">
                                        </telerik:EditorSplitButton>
                                        <telerik:EditorSplitButton Name="BackColor">
                                        </telerik:EditorSplitButton>
                                        <telerik:EditorTool Name="FormatPainter" />
                                        <telerik:EditorSeparator />
                                        <telerik:EditorTool Name="JustifyLeft" />
                                        <telerik:EditorTool Name="JustifyCenter" />
                                        <telerik:EditorTool Name="JustifyRight" />
                                        <telerik:EditorTool Name="JustifyFull" />
                                        <telerik:EditorTool Name="JustifyNone" />
                                        <telerik:EditorSeparator />
                                        <telerik:EditorTool Name="Superscript" />
                                        <telerik:EditorTool Name="Subscript" />
                                        <telerik:EditorSeparator />
                                        <telerik:EditorTool Name="ConvertToLower" />
                                        <telerik:EditorTool Name="ConvertToUpper" />
                                        <telerik:EditorTool Name="Indent" />
                                        <telerik:EditorTool Name="Outdent" />
                                        <telerik:EditorTool Name="InsertOrderedList" />
                                        <telerik:EditorTool Name="InsertUnorderedList" />
                                        <telerik:EditorTool Name="AbsolutePosition" />
                                        <telerik:EditorTool Name="LinkManager" />
                                        <telerik:EditorTool Name="Unlink" />
                                        <telerik:EditorTool Name="SetLinkProperties" />
                                        <telerik:EditorTool Name="ToggleTableBorder" />
                                    </telerik:EditorToolGroup>
                                    <telerik:EditorToolGroup Tag="DropdownToolbar">
                                        <telerik:EditorDropDown Name="FontName">
                                        </telerik:EditorDropDown>
                                        <telerik:EditorDropDown Name="FontSize">
                                        </telerik:EditorDropDown>
                                        <telerik:EditorDropDown Name="RealFontSize">
                                        </telerik:EditorDropDown>
                                        <telerik:EditorDropDown Name="ApplyClass">
                                        </telerik:EditorDropDown>
                                        <telerik:EditorDropDown Name="InsertCustomLink">
                                        </telerik:EditorDropDown>
                                        <telerik:EditorDropDown Name="FormatBlock">
                                        </telerik:EditorDropDown>
                                        <telerik:EditorTool Name="FormatSets" />
                                        <telerik:EditorDropDown Name="Zoom">
                                        </telerik:EditorDropDown>
                                    </telerik:EditorToolGroup>
                                </Tools>
                                <Content>
                                
                                </Content>
                                <TrackChangesSettings CanAcceptTrackChanges="False" />
                            </telerik:RadEditor>--%>

5 Answers, 1 is accepted

Sort by
0
David
Top achievements
Rank 1
answered on 19 Oct 2016, 08:10 PM

I am experiencing exactly the same issue after updating to this most recent version today.  Below is a very simple aspx page which exhibits the same issue.

 

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Test.aspx.cs" Inherits="Balluff.Web.Synergy.Test" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <telerik:RadAjaxLoadingPanel runat="server" ID="RadAjaxLoadingPanel1" Height="100%" Width="100%">
            </telerik:RadAjaxLoadingPanel>
            <telerik:RadAjaxPanel runat="server" ID="WizardPanel" Height="100%" Width="100%">
                <telerik:RadButton ID="RadButton2" runat="server" Text="Test postback" AutoPostBack="true"></telerik:RadButton>
                <telerik:RadEditor ID="RadEditor1" runat="server"></telerik:RadEditor>
            </telerik:RadAjaxPanel>
        </div>
        <telerik:RadScriptManager runat="server" ID="RadScriptManager1" OutputCompression="Forced">
        </telerik:RadScriptManager>
        <telerik:RadAjaxManager ID="RadAjaxManagerProxy1" runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="WizardPanel">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="WizardPanel" UpdatePanelHeight="100%" LoadingPanelID="RadAjaxLoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
    </form>
</body>
</html>

0
Marin Bratanov
Telerik team
answered on 20 Oct 2016, 08:04 AM

Hi guys,

This is a regression bug we identified yesterday: http://www.telerik.com/forums/known-issues-and-important-changes#4pf17iviE02q4LSCyey1Gw.

@David: I strongly advise that you keep the script manager as the first control on the form, before any other controls that need it (like RadEditor).

Regards,

Marin Bratanov
Telerik by Progress
Check out the new UI for ASP.NET Core, the most complete UI suite for ASP.NET Core development on the market, with 60+ tried-and-tested widgets, based on Kendo UI.
0
Mike
Top achievements
Rank 1
answered on 20 Oct 2016, 01:05 PM

Hi Marin.

Thanks for your response. I set the RenderMode = Lightweight and the problem was resolved.

Can you confirm that there will be a hotfix for this issue?

Mike...

0
Marin Bratanov
Telerik team
answered on 21 Oct 2016, 07:56 AM

Hi Mike,

We will do our best to get this fixed in R3 2016 SP2 that is planned for next week (24-28 Oct 2016). You can click the Follow link here to get status updates. 

Regards,

Marin Bratanov
Telerik by Progress
Check out the new UI for ASP.NET Core, the most complete UI suite for ASP.NET Core development on the market, with 60+ tried-and-tested widgets, based on Kendo UI.
0
Marin Bratanov
Telerik team
answered on 27 Oct 2016, 01:37 PM

Hi guys,

I am happy to say that we just released the official R3 2016 SP2 (2016.3.1027) that contains a fix. You can download it from your Telerik.com account, upgrade your project(s) and use it in production.

Regards,

Marin Bratanov
Telerik by Progress
Check out the new UI for ASP.NET Core, the most complete UI suite for ASP.NET Core development on the market, with 60+ tried-and-tested widgets, based on Kendo UI.
Tags
Editor
Asked by
Mike
Top achievements
Rank 1
Answers by
David
Top achievements
Rank 1
Marin Bratanov
Telerik team
Mike
Top achievements
Rank 1
Share this question
or