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

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!!!!!
 
G

Guest

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"));
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top