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

MakeUrlsAbsolute error in IE8

4 Answers 104 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Edwin Benavente
Top achievements
Rank 1
Edwin Benavente asked on 26 May 2010, 06:18 PM
Hi,
I have downloaded the trial from your site and when a set MakeUrlsAbsolute property to Enabled, it shows an error in Editor even when i only have this code in html view:
<HTML><HEAD><TITLE></TITLE></HEAD>
<BODY></BODY></HTML>

The error's text is this: "Error while executing filter MakeUrlsAbsolute".

I also have tried this code in the editor in your Site (see image) and I'm getting the same error.

Edwin Benavente

4 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 27 May 2010, 12:59 PM
Hi Edwin,

Thank you for pointing out this bug.

I logged it in our bug tracking PITS system with ID 2266 and we will fix it. You can check the status of the issue in the pits system. I also updated your Telerik points for reporting this bug.

All the best,
Rumen
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items.
0
Philip Saltskog
Top achievements
Rank 2
answered on 28 May 2010, 09:43 AM
Hi,

I found this error too. Any workaound ??

/Thanks
0
Rumen
Telerik team
answered on 28 May 2010, 12:21 PM
Hi Philip,

We could not provide a workaround for the time being, but we will do our best to fix the problem for the next official release. If we find a solution in advance, I will post it here.

Please, excuse us for the temporary inconvenience.

Best regards,
Rumen
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items.
0
Rumen
Telerik team
answered on 28 May 2010, 01:22 PM
This is a follow-up, guys.

You can solve the problem by putting the script below under the RadEditor declaration:

<telerik:RadEditor  ID="RadEditor1" ContentFilters="MakeUrlsAbsolute" runat="server"></telerik:RadEditor>
<script type="text/javascript">
    Telerik.Web.UI.Editor.MakeUrlsAbsolute.prototype.getHtmlContent = function(contentElement) {
        this._updateElements(contentElement, "A", "href");
        this._updateElements(contentElement, "AREA", "href");
        this._updateElements(contentElement, "IMG", "src");
        this._updateElements(contentElement, "EMBED", "src");
        var cleanAnchorsFilter = new Telerik.Web.UI.Editor.IECleanAnchorsFilter();
        if (contentElement.tagName == "HTML") {
            var doc = (typeof (contentElement.document) != "undefined") ? contentElement.document : contentElement.ownerDocument;
            doc.body.innerHTML = cleanAnchorsFilter.getHtmlContent(doc.body.innerHTML);
        }
        else {
            contentElement.innerHTML = cleanAnchorsFilter.getHtmlContent(contentElement.innerHTML);
        }
        return contentElement;
    }
</script>

The problem will be fixed in the next official release.

Best regards,
Rumen
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items.
Tags
General Discussions
Asked by
Edwin Benavente
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Philip Saltskog
Top achievements
Rank 2
Share this question
or