Author: asafblasberg | Posted on: 3/21/2010 12:40:21 PM | Views : 279

If e.CommandName = "Download" Then Dim DownloadLink As String = e.CommandArgument.ToString() Dim DownloadLinkValueString = "attachment; filename=" & DownloadLink Response.Write(DownloadLinkValueString) Response.Clear() Response.ContentType = "x-msdownload" Response.AppendHeader("Content-Disposition", DownloadLinkValueString) Response.TransmitFile("~/App_Data/" & DownloadLink) Response.End() End If
Hello,
The code above forces a Open/Save dialog box in Explorer to pop up.  Since my downloads are in App_Code, this code serves the file to the user :)  Now, I want the same code, but instead of forcing the pop up, I want the file to start playing right away instead of having to download the entire thing.  So an easy way would be simply an HTML a ...

Go to the complete details ...