Closed Bug 499279 Opened 14 years ago Closed 12 years ago
Page is not rendered sometimes when an alert is displayed
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; pt-BR; rv:188.8.131.52) Gecko/2009060215 Firefox/3.0.11 (.NET CLR 3.5.30729) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; pt-BR; rv:184.108.40.206) Gecko/2009060215 Firefox/3.0.11 (.NET CLR 3.5.30729) I'm creating a system under .NET Framework last version but the problem is old. I have a simple form with some fields and table but have a large viewstate information. In each postback like save form operation, I display the status of the operation using alert method of the window. After some postbacks the page stops of rendering the content in a random way. If I comment the alert line the problem does not happen any more. Reproducible: Sometimes Steps to Reproduce: 1. Using ASP.NET, create a webform that generate a large viewstate data. In my case the file has 350kb and 90% is viewstate data. 2. After the postback use the window.alert method to display any thing after the body tag. 3. After some postbacks the problem happen. Actual Results: The page is not rendered. It stops after the body tag. Viewstate is information stored in a hidden field that is used by framework to persist the previous state of the page.
If I change the file extension from .aspx to .htm the problem does not occur.
I couldn't reproduce the case running the webform in localhost.
I'd resolved my problem chaging the method Page.ClientScript.RegisterClientScriptBlock to Page.ClientScript.RegisterStartupScript where the script will be added at the end of the webform.
Reporter, please retest with Firefox 3.6.12 or later in a fresh profile (http://support.mozilla.com/kb/Managing+profiles). Also update your plugins (flash, adobe reader, java, quicktime, silverlight, etc/) Go to the developer's website and download the latest version from there.
Whiteboard: [CLOSEME 2010-12-01]
No reply, INCOMPLETE. Please retest with Firefox 3.6.12 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.