Posted on: 11/14/2011 10:15:50 PM | Views : 203

Hi! Many months ago I used a simple and cool scripts for manage an "explorer" in a specified folder! It works but I've seen that when I download a file, I show in it HTML page structure from <!DOCTYPE  to </HTML>

:(((

I've also tried to insert a
Response.End();

but with this I show all PDF chars in HTML page

Can you help me??

<%@ Page Language="C#" AutoEventWireup="true" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script runat="server"> protected String numero; // numero dell'ordine protected void Page_Load(object sender, EventArgs e) { numero = Request.QueryString["numero"].ToString(); lblMessage.Text = ""; if (Request["download"] == "true") { makeDownload(Request["fileToDownload"]); } ...

Go to the complete details ...