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

[Solved] editor inside RadWindow crashes in Firefox

15 Answers 260 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Andreas Kaech
Top achievements
Rank 1
Andreas Kaech asked on 28 Feb 2008, 01:52 PM
Hi,
in my application, I have a splitter-page ("default.aspx") with several Panes. In one Pane I invoke the Page via contenturl ("content.aspx").
The WindowManager resides in "default.aspx".
In "content.aspx", I call a modal RadWindow with top.radopen("window.aspx").
Now the problem: In "window.aspx", there is a RadEditor.
After closing the RadWindow and (after a while) the browser, Firefox (but not IE) crashes.
When exchanging the RadEditor with a TextBox, there is no crash.
I hope you can reproduce my problem.

Best regards,
Andreas

15 Answers, 1 is accepted

Sort by
0
Andreas Kaech
Top achievements
Rank 1
answered on 28 Feb 2008, 02:55 PM
Hi,
for helping you reproducing the problem: The following code in the RadWindow content page ("window.aspx") crashes Firefox:

    <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server">  
    </telerik:RadStyleSheetManager> 
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">  
    </telerik:RadScriptManager> 
    <div> 
        <table align="left" cellpadding="3" cellspacing="3">  
            <tr> 
                <td> 
                    <telerik:RadComboBox ID="cbThema" runat="server" Skin="Vista">  
                        <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> 
                        <ExpandAnimation Type="OutQuart"></ExpandAnimation> 
                    </telerik:RadComboBox> 
                </td> 
            </tr> 
            <tr> 
                <td> 
                    <telerik:RadComboBox ID="cbTypus" runat="server" Skin="Vista">  
                        <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> 
                        <ExpandAnimation Type="OutQuart"></ExpandAnimation> 
                    </telerik:RadComboBox> 
                      
                </td> 
            </tr> 
            <tr> 
                <td> 
                    <asp:CheckBox ID="chkReserviert" runat="server" EnableViewState="false" /> 
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:CheckBox ID="chkInaktiv" runat="server" 
                        EnableViewState="false" /> 
                </td> 
            </tr> 
            <tr> 
                <td> 
                    <telerik:RadNumericTextBox ID="inpGewichtung" runat="server" Culture="German (Switzerland)" 
                        Skin="Vista" Type="Number" Value="1" Width="20px" MaxValue="5" MinValue="1">  
                        <NumberFormat AllowRounding="True" DecimalDigits="0"></NumberFormat> 
                    </telerik:RadNumericTextBox> 
                </td> 
            </tr> 
            <tr> 
                <td> 
                    <telerik:RadEditor ID="editBemerkung" runat="server" EditModes="Design" Language="de-DE" 
                        Skin="Vista" Width="600px" ContentAreaCssFile="~/EditorContentAreaStyles.css" 
                        ToolsFile="~/App_Data/ToolbarSimple.xml" Height="250px">  
                        <Content></Content>  
                        <SpellCheckSettings SpellCheckProvider="PhoneticProvider" WordIgnoreOptions="None">  
                        </SpellCheckSettings> 
                    </telerik:RadEditor> 
                </td> 
            </tr> 
            <tr> 
                <td> 
                    <asp:Button ID="btnNext" runat="server" Text="Next" OnClick="btnNext_Click" /> 
                </td> 
            </tr> 
        </table> 
    </div> 

Best regards,
Andreas
0
Accepted
Georgi Tunev
Telerik team
answered on 04 Mar 2008, 10:56 AM
Hello Andreas,

I am afraid that we are not able to reproduce the problem by using the code that you provided - everything is working as expected on our side.

I assume that the problem might be somewhere else, however without having a better view over your exact setup and logic, I cannot say what exactly might be causing this. Can you please open a support ticket and send me a small sample project where the problem can be reproduced? I will check it and do my best to help.



Sincerely yours,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Chris
Top achievements
Rank 1
answered on 10 Mar 2008, 05:57 PM
Hi,
Did anything come of this problem? I am having a similar issue. I have a RadEditor inside a ASP.NET AJAX ModalPopupExtender. In Firefox the show on focus toolbar does not work. However it works fine within IE. Alternatively, within IE, I notice the modal with the RadEditor does not always load the transparent background of the modal popup properly. This only happens in IE and with a RadEditor embedded.

Thanks,
Chris
0
Shane
Top achievements
Rank 1
answered on 13 Mar 2008, 12:10 AM
Hi Guys,

I had the same problem.

Are you using radscriptmanager? the set the enablecombinescript to false. It will at least prevent this in some occasion.  I tried to create a sample project, however in the project it doesn't crash. This problem started after the Q3 release!

Shane
0
Tervel
Telerik team
answered on 13 Mar 2008, 02:50 PM
Hi Chris,

There are problems in FireFox with enabling rich editing for an iframe that is not properly shown at the right time of the page load. As you say, all works fine in IE and other supported browsers.

We have developed a workaround for the case, but we will need you to send us a working project, so that we modify the code for your particular scenario, and be sure that it works.

This is why I ask you to open a support ticket and send us a working project using RadEditor Prometheus and
ModalPopupExtender. Once we get it we will get back to you with a solution.

===================================

Regarding the crash - guys, we have not been able to reproduce the issue on our end. Hopefully some of you will be able to send us a working sample to examine.


Sincerely yours,
Tervel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Shane
Top achievements
Rank 1
answered on 13 Mar 2008, 11:29 PM
Hi Terval,

I have also tried to reproduce, but I couldn't. It only happens with my project.

I try to remove every thing in my page and tried and it still crashed. I bet it is the rad script manager. It wasn't happening with Q2, but it is happening in Q3. I don't know if merging designer dll with UI dll has something to do with this.

I wish I could create a Project Tervel, but I am unable to create one. However, it seems I am not only person having this issue. Please note, this only happen in Firefox. It would be great if you could look into this.

Thanks in advance Tervel.

Regards,
Shane
0
Andreas Kaech
Top achievements
Rank 1
answered on 14 Mar 2008, 06:21 AM
Hi Shane,
try my example in the second thread. My experience is, that when eliminating RadEditor from the RadWindow-Page, no crashing occurs.

Regards,
Andreas
0
Tervel
Telerik team
answered on 14 Mar 2008, 08:13 AM
Shane,

You mention that you use the RadScriptManager - is it correct? Do you experience the crash if you use the MS AJAX ScriptManager class instead?


Looking forward to hearing from you,
Tervel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Andreas Kaech
Top achievements
Rank 1
answered on 14 Mar 2008, 08:26 AM
Hi Tervel,
I've tested now the same page with MS AJAX ScriptManager and the Firefox-Crashing has gone. I hope Shane has the same experience.
Thanks for this workaround ;-)

Best regards,
Andreas
0
Shane
Top achievements
Rank 1
answered on 16 Mar 2008, 11:37 PM
Hi Tervel,

Firefox doesn't crash with asp Script Manager. As I mentioned before, when you combine the scripts it crashes. And the only reason I use RadScriptManager is, I can combine script, which is now impossible.

Andreas: Thanks for you suggestion :)

Thanks look into this Tervel!

Shane
0
Tervel
Telerik team
answered on 18 Mar 2008, 08:50 AM
Hello all,

Thank you for the feedback. The problem has been logged for investigation by the developers responsible for RadScriptManager. For the time being my suggestion is to use the RadScriptManager on your "main" pages, and to use the ASP:ScriptManager for the pages with RadEditor that render within a RadWindow.


Greetings,
Tervel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
David Berman
Top achievements
Rank 2
answered on 17 Apr 2008, 12:39 PM
I can confirm that I am also having a problem with Firefox crashing when using the editor inside a RadAjaxPanel.  The fix worked for me, by setting EnableCombineScripts to false on the RadScriptManager object.

I think this problem may also apply to the RadToolTip.
0
Lini
Telerik team
answered on 18 Apr 2008, 08:13 AM
Hello,

Could you tell us which controls version are you using? The new Q1 2008 release or the old Q3 2007?

Sincerely yours,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
David Berman
Top achievements
Rank 2
answered on 18 Apr 2008, 12:27 PM
I had the problem in Prometheus and yesterday I upgraded to 2008 Q1 and I had the problem there too, unless I set EnableCombineScripts to false.  If I don't do this, FireFox crashes.


David

0
Lini
Telerik team
answered on 18 Apr 2008, 01:45 PM
Hello David,

Please open a formal support ticket and send us a simple page where you reproduce the problem (Firefox crashes). We will make sure that the problem is fixed for the next release. Thanks in advance for your cooperation!

All the best,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Editor
Asked by
Andreas Kaech
Top achievements
Rank 1
Answers by
Andreas Kaech
Top achievements
Rank 1
Georgi Tunev
Telerik team
Chris
Top achievements
Rank 1
Shane
Top achievements
Rank 1
Tervel
Telerik team
David Berman
Top achievements
Rank 2
Lini
Telerik team
Share this question
or