Postback woes in IE7 - 'document.form1' is null error

  • Thread starter Thread starter SQwilDude
  • Start date Start date
S

SQwilDude

My ASP2.0 application has always run fine in IE6 and FF.

Only on IE7 installations I get a 'document.form1' is null error after
a postback that creates an .m3u file on the server and does a
Response.Redirect to it.

I don't get this error in FireFox 2.0.

HELP!!!!!
 
You aren't really providing much information in your post, but the
"standards" compliant code would look like

document.getElementById("Form1")

You could try instead,
Response.ContentType="whatever the mime type is";
Response.WriteFile( Sever.MapPath("myfile.m3u"));
 
Back
Top