Completed
Last Updated: 08 Mar 2019 10:04 by ADMIN
Rajdeep
Created on: 21 Jan 2019 07:56
Category: Editor
Type: Bug Report
0
IE11 (only) when you right click on a hyperlink you get the image manager and not the hyperlink manager.

I am using Telerik.WEB.UI version: 2018.1.117.45 in my website. I am getting as issue in RADEditor control when I create a hyperlink within Editor. Right clicking on that hyperlink opens a context menu, when I click on properties from the context menu, it opens an 'Image Manager' instead of 'Hyperlink Manager'.

The issue is occurring only in IE 11, rest all the browsers are opening 'Hyperlink Manager'. Please advise.

Thank you

2 comments
ADMIN
Rumen
Posted on: 08 Mar 2019 10:04
Hi Rajdeep,

I have good news that the problem is fixed and available for testing in the Latest Internal Build version 2019.1.308.

You can download the LIB from https://www.telerik.com/account/product-download?product=RCAJAX -> click on the Internal Builds tab -> download Telerik_UI_for_ASP.NET_AJAX_2019_1_308_Dev_hotfix.zip or Telerik_UI_for_ASP.NET_AJAX_2019_1_308_Trial_hotfix.zip depending on your license.

Here are the Release Notes.

The fix will be also part of the upcoming in May major R2 2019 release.

Best 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.
ADMIN
Rumen
Posted on: 21 Jan 2019 15:34
Hi Rajdeep,

Thank you for reporting this bug!

It was confirmed and the ticket converted to a public portal bug item which you can access from the following link: IE11 (only) when you right click on a hyperlink you get the image manager and not the hyperlink manager.

The bug fix will appear in the upcoming Latest Internal Build (to be out in 2-4 weeks) and also in the R2 2019 release (due in May).

The temporary workaround that you can use is the _createMenuEventArgs function override below:


<telerik:RadEditor ID="RadEditor1" runat="server">
    <Content><a href="http://www.google.com">Google</a></Content>
</telerik:RadEditor>
<script>
    Telerik.Web.UI.Editor.RadContextMenuFunctionality.prototype._createMenuEventArgs = function (e) {
        var contextMenu = this._radContextMenu;
        var target = $telerik.$(e.delegateTarget);
        var rmText = target.find(".rmText");
        var text = rmText.html();
        var item;
        var visItems = this._getVisibleItems(contextMenu);
        for (var i = 0; i < visItems.length; i++) {
            if (visItems[i].get_text() == text) {
                item = visItems[i];
            }
        }
 
        if (!item) {
            var item = contextMenu.findItemByText(text);
        }
        if (item.get_items().get_count() > 0) {
            return;
        }
        return new Telerik.Web.UI.RadMenuItemEventArgs(item, e.originalEvent);
    }
</script>

Please test the temporary solution and let me know how it works.

As a small token of gratitude I also updated your Telerik points.

Best 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.