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
Frame.aspx
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"><html xmlns="http://www.w3.org/1999/xhtml"><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"><html xmlns="http://www.w3.org/1999/xhtml"><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>