Prev: Client found response content type of 'text/plain', but expected'text/xml'
Next: divs are different in different browsers
From: Ian on 21 Jan 2010 09:20 All, I am using the following code on a button click to launch a file from IE. Response.Write("<script type='text/javascript'>detailedresults=window.open('" + @fileName + "');</script>"); The string variable has the value : @FileName = "file://ourserver/testdir/excelfile.xls" This works occasionally, but sometimes makes IE hang and not respond. Any ideas/comments or better ways of simply opening a file via a button click TIA Ian
From: Robinson Moscoso on 21 Jan 2010 20:17
Hi. Mira este link, ahi explica como hacer un sistema de descarga http://aspalliance.com/259_Downloading_Files__Forcing_the_File_Download_Dialog saludos -- Robinson Moscoso Consultor en Sistemas de Informaci�n 57-3002141652 Bogot� - Colombia "Ian" <Ian(a)test.co.uk> escribi� en el mensaje de noticias:#ModZTqmKHA.1652(a)TK2MSFTNGP05.phx.gbl... > All, > > I am using the following code on a button click to launch a file from IE. > > Response.Write("<script > type='text/javascript'>detailedresults=window.open('" + @fileName + > "');</script>"); > > The string variable has the value : > @FileName = "file://ourserver/testdir/excelfile.xls" > > This works occasionally, but sometimes makes IE hang and not respond. > > Any ideas/comments or better ways of simply opening a file via a button > click > > TIA > Ian |