Download
-
Response.Clear(); Response.AddHeader("Content-Disposition", "attachment; filename=" + file.Name); Response.AddHeader("Content-Length", file.Length.ToString()); Response.ContentType = "application/octet-stream"; Response.End(); By this code we get download dialog box.There are three buttons cancel,open and save. How to find out whether user had pressed cancel or open/save.
-
Response.Clear(); Response.AddHeader("Content-Disposition", "attachment; filename=" + file.Name); Response.AddHeader("Content-Length", file.Length.ToString()); Response.ContentType = "application/octet-stream"; Response.End(); By this code we get download dialog box.There are three buttons cancel,open and save. How to find out whether user had pressed cancel or open/save.
Can you tell me why you need to trap the these buttons ?
/***********************/ Parwej Ahamad g.parwez@gmail.com /***********************/
-
Can you tell me why you need to trap the these buttons ?
/***********************/ Parwej Ahamad g.parwez@gmail.com /***********************/