IE7 displays blank page


  • i have created a webapp using vs2008 and all standard microsoft web controls. it is ajax based using  asp:ScriptManager and asp:UpdatePanel in the master page. The asp:ContentPlaceHolder is
    inside this update panel so all the child webforms are inside the same update panel.

    The website is hosted on 2003 server machine with 4gb RAM. Database used is sql 2000. All the client are windows XP sp3.

    I was in need of a rich text editor which is not html based hence created an ocx using vb6.0 and microsoft rich text control with some custom properties. This ocx is in (ascx) web usercontrol page in object tag. Inturn ascx web user control is used in several (aspx) web pages. Webservice is used for the flow of data to and from the control into database which works fine with all the rich text formatting information intact.

    <object classid='clsid:B617B991-A767-4F05-99BA-AC6FCABB102E' id="test1" style='width: 100%; height: 300; background-color: #FFFFCC;' >

    I am now stuck with this problem.

    Sometimes the page having this control does not load completely. Only the part which is above this control on the aspx page loads and remaing is blank.

    If i try to refresh at this point the page goes blank. And from now on if i try to open the same or any other website, in this same ie7 tab, it returns with a blank white page with DONE in the status bar without any error or script warning messages. It remain blank untill u close it.

    If i try to open the part loaded page (copy and paste the same URL) in new tab it loads the complete page but after a few interactions it starts with the same problem again.

    On firefox it works fine - pages load completely. it never goes blank.

    This happens randonly and still could not figure out if its machine specific or somthing on the server or the ocx.

    Can someone throw some light on it? Am i missing some basics of ocx on web page here?
    Need some urgent help - Hope for some quick replies

    Thanking you in advance.

    Thursday, March 26, 2009 1:23 PM

All replies

  • IE is known to do weird things when non self-closing tags are self-closed.

    I would recommend that your object tag (and any script, param or other tags) have a separate closing tag.


    <object ....></object>

    <script src="somefile.js"></script>

    you can keep these kind of tags self closing....

    Friday, March 27, 2009 5:43 PM