IT bacsically depends upon what file you would like to send to the browser.
If its any office document, IE might open automatillay in the browser , and the
applies only in case if you require the IE to open file download dialog instead of showing the file in the same window.Code:http://support.microsoft.com/default.aspx?scid=kb;en-us;303475
Assuming that the file that you want to open is within the same asp.net application
you can use the following. where strFileURL is the file path of the file you want to display.
Hope it worked.Code:Response.WriteFile(Server.MapPath(strFileURL))
Thanks




Reply With Quote