G
Guest 20221009
Guest
I got this code that is supposed to trigger a file download.
The only problem is that it does this in the back ground and I cant see where the downloads are going. I only noticed that the thing was actually processing by looking at the network activity tab on Chrome.
my headers are like:
Response
We need the ajax call for user experience, and a normal action link does the trick.Any help is most welcome.

@Ajax.ActionLink("Proceed", "DownLoad", "Video", new AjaxOptions { HttpMethod = "Get", OnSuccess = "closeMessage", LoadingElementDuration= 5, OnBegin = "resizeLightbox()" })
The only problem is that it does this in the back ground and I cant see where the downloads are going. I only noticed that the thing was actually processing by looking at the network activity tab on Chrome.
my headers are like:
Request URL:http://ndivho.xxxxx.com:26199/Download/5458/845?X-Requested-With=XMLHttpRequest
Request Method:GET
Status Code:200 OK
Response
X-Requested-With:XMLHttpRequest
Response Headersview source
Cache-Controlrivate
Connection:Close
Content-Disposition:attachment; filename=Denkowmv
Content-Length:57191049
Content-Type:video/x-ms-wmv
Date:Thu, 29 Sep 2011 14:14:06 GMT
Server:ASP.NET Development Server/10.0.0.0
Set-Cookie:"-censored-" GMT; path=/
dctoken=B2344621020F1757; domain=xxxxx.com; expires=Sat, 29-Oct-2011 14:14:05 GMT; path=/
dctoken_time=9/29/2011 4:14:05 PM; domain=dstv.com; expires=Sat, 29-Oct-2011 14:14:05 GMT; path=/
X-AspNet-Version:4.0.30319
X-AspNetMvc-Version:3.0
We need the ajax call for user experience, and a normal action link does the trick.Any help is most welcome.
Last edited by a moderator: