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

Editor Image properties crashing browser

1 Answer 30 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 1
Steve asked on 19 Aug 2011, 07:07 PM
We've had users complaining of a sequence of events in our application that was somehow causing Internet Explorer to not just throw a javascript error, but to actually crash completely.  I've narrowed it down to the following recreatable situation.

1) Need 2 pages.  The First page just includes an IFRAME whose source is the second page

2) The Second page has the Rad Editor with content that contains an image. 

3) The Second page contains a button that posts back.

4) Run the First page.  The IFrame loads up the Second page.

5) Right Click on the image in the editor and select "Properties".  After the properties window loads, hit the "Cancel Button"

6) Click the button to initiate a post back.

7) After it comes back, push it a second time.  The browser will crash.  Happens in both IE 8 and IE 9.

Heres my sample pages I used to create this:

Main.aspx
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    Iframe is Below<br />
    <iframe id="main" frameborder="0" width="800px" height = "500px" src="frame.aspx">
    </iframe>
    </div>
    </form>
</body>
</html>

Frame.aspx
%@ Page Language="VB" AutoEventWireup="false" CodeFile="frame.aspx.vb" Inherits="frame" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>
    <div>
    <asp:Button ID="postit" Text="Cause Postback" runat=server />
    <telerik:RadEditor ID="RadEditor1" Runat="server">
    <Content>Test<br />
        <img alt="" src="/RadControlsWebSite1/e3cat.jpg" /></Content>
        <ImageManager ViewPaths="~/"
                                UploadPaths="~/"
                                DeletePaths="~/">
                            </ImageManager>
    </telerik:RadEditor>
    </div>
    
    </form>
</body>
</html>

1 Answer, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 23 Aug 2011, 06:56 AM
Hello,

I already answered your support ticket on the subject. For convenience I will paste my answer here as well.

I tried to reproduce the problem but to no avail. Could you please provide more detailed information on the specific scenario?
  • Which version of RadControls for ASP.NET AJAX and .NET Framework are used in the application?
  • Could you please provide the exact JavaScript error message that you experience?

I have prepared a video demonstrating my test, could you please see if I am doing something wrong?
http://screencast.com/t/fkoVUbppBCH


Kind regards,
Dobromir
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
Editor
Asked by
Steve
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Share this question
or