Page displayed by Preview doesn't always get displayed correctly in IE

Last post 07-31-2010, 10:09 AM by Eric. 3 replies.
Sort Posts: Previous Next
  •  07-28-2010, 4:53 AM 62772

    Page displayed by Preview doesn't always get displayed correctly in IE

    Hello,
     
    I need to set editor's HTML by JavaScript.
    I noticed however that on InternetExplorer, the page displayed in Preview doesn't always get displayed correctly when setting the HTML or when switching the tabs.
     
    Here is a complete test to see this behaviour:
     
    #1.  open any web-browser and navigate to http://www.opcodeservices.com/TestWebApp/trims-prices.html  and right click in browser and copy the HTML code to clipboard
     
    #2.  open Internet Explorer and navigate to http://www.opcodeservices.com/TestWebApp/Default2.aspx and paste the HTML code to the textbox and click on 'set HTML' button 
     
    #3.  Repeat the previous step in other browser, like FireFox
     
    #4.  Observe that  the page displayed in Preview looks different between IE and FireFox
     
    #5. In InternetExplorer, switch to  HTML tab and then to Normal tab. You can see how in Normal tab the page looks correctly.
          Note that this doesn't happen if you switch directly to Normal tab without going first to HTML tab. 
     
    This doesn't look like a browser issue because if you open 
    http://www.opcodeservices.com/TestWebApp/trims-prices.html in InternetExplorer the page looks OK.
     
     
    I spent alot of time on different issues, so I am really looking forward for a solution to this.
     
    Thank you!
     
     
  •  07-28-2010, 5:13 PM 62784 in reply to 62772

    Re: Page displayed by Preview doesn't always get displayed correctly in IE

    Please update file http://www.opcodeservices.com/TestWebApp/Default2.aspx, set EditCompleteDocument="true" and EnableStripLinkTagsCodeInjection="false" and test it again,
     
    <CE:Editor id="Editor1" EditCompleteDocument="true"  EnableStripLinkTagsCodeInjection="false" runat="server" ></CE:Editor>
     
    Keep us posted.
     
    Regards,
    Eric
     

          
  •  07-30-2010, 11:09 AM 62835 in reply to 62784

    Re: Page displayed by Preview doesn't always get displayed correctly in IE

    Eric,
     
    I added the two properties.
    It still doesn't work.
     
    Any othe ideas?
     
    Andrei.
  •  07-31-2010, 10:09 AM 62846 in reply to 62835

    Re: Page displayed by Preview doesn't always get displayed correctly in IE

    Please follow steps:
    2. Click "File"=>"Save As", set "Save As Type" to "Webpage,complete" in popup dialog, and save it to "test.html"
    3. Open saved "test.html" in IE&Firefox
    You will find same look and feel. You need narrow this issue by checking your style setting.
     
    Regards,
    Eric
View as RSS news feed in XML