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

IE8 Error in RadEditor

6 Answers 106 Views
Editor
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 01 Dec 2010, 07:50 AM
Hi,

I have recently upgraded our application to use 2008.3 1314 (Jan 14, 2009)

We now get the following error when using the Editor control in IE8 only:

Message: 'Telerik.Web.UI.FormDecoratorDecoratedControls.Default' is null or not an object

This was not occuring in the previous version we were using before, is there a fix / patch available to allow us to use the control in IE8 or can we download the previous (older) version that works?

6 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 01 Dec 2010, 05:14 PM
Hi David,

We provided full support for IE8 in Q1 2009 SP1 (version 2009.1.402) and all subsequent builds of RadControls for ASP.NET AJAX support it. To fix this problem, my recommendation is to upgrade to the latest available build of RadControls for ASP.NET AJAX Q3 2010 (version 2010.3.1109).


Greetings,
Rumen
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
David
Top achievements
Rank 1
answered on 04 Dec 2010, 06:11 PM
Hi thanks for the reply, our support ran out just before that version, in fact it is the only version that we cannot download. Is there any hotfix or workaround that wouldnt involve me upgrading / renewing the support package. The price to fully renew looks awful expensive to just get things working in IE8.

I realise and fully understand that we are not eligable for future major upgrades but IE8 was, I believe released while we were in support and this means we cannot use the control at all (or have to downgrade).

We have always been a big fan of telerik and would love to continue using the RAD editor (rather than downgrade back to a previous version that works in IE8 or switch to something free to get IE8 support).

Is there no way you could help us out by either allow us to download the later IE8 supported version or at least advise a workaround?
0
Rumen
Telerik team
answered on 06 Dec 2010, 01:38 PM
Hello David,

Yes, there is a solution.

The problem is caused by the RadFormDecorator control in the editor dialogs, which does not support IE8 in version 2008.2.1001. If you do not wish to upgrade, you can create a custom HTTP dialog handler, which inherits the default Telerik.Web.UI. DialogHandler and override the OnLoad() method, where you can try adding the

<meta http-equiv="X-UA-Compatible" content="IE=7" />

tag to the dialog page header. By default IE 8 should render all child iframes (RadWindow) in compat mode as well if the main page has the meta tag:

C# code

        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);
            HtmlMeta hm = new HtmlMeta();
            hm.HttpEquiv = "X-UA-Compatible";
            hm.Content = "IE=7";
            Page.Header.Controls.Add(hm); 
        }

The tags below should be also added to the web.config file:

For IIS6:
<system.web>
                ...
                <httpHandlers>
                                ...
                                <!--<add path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler" validate="true"/>-->
                                <add path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Admin.IECompatibilityHandler" validate="false"/>
                                ...
                </httpHandlers>
                ...
</system.web>

For IIS7:
<system.webServer>
                ...
                <handlers>
                                ...
                                <!--<add name="DialogHandler" path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler"/>-->
                                <add name="Telerik.Web.UI.DialogHandler.aspx" path="Telerik.Web.UI.DialogHandler.aspx" verb="*"                                 type="Telerik.Admin.IECompatibilityHandler" />
                                ...
                </handlers>
                ...
</system.webServer>



Regards,
Rumen
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
David
Top achievements
Rank 1
answered on 11 Dec 2010, 11:10 AM
Thanks, great response!
0
David
Top achievements
Rank 1
answered on 11 Dec 2010, 11:10 AM
Hi,

Thank you so much for your follow up and your resolution.

You are correct the dialog now shows. One last question though - on some of our pages the editor is shown below the fold and the user needs to scroll down to see it. When showing the dialogs in IE7 (and all other browsers) the dialog appears in the center of the browser window.

On IE8 it can on occasions (depending on the scroll position of the window I guess) appear where the user cannot see it and must scroll to it - obviously the user doesnt think to do this and thinks it has not appeared. Is there a fix for this also?
0
Rumen
Telerik team
answered on 14 Dec 2010, 05:26 PM
Hello David,

I am afraid that the only available option for this problem is to upgrade to the latest build.

Best wishes,
Rumen
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Editor
Asked by
David
Top achievements
Rank 1
Answers by
Rumen
Telerik team
David
Top achievements
Rank 1
Share this question
or