Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6145489
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T18:47:59+00:00 2026-05-23T18:47:59+00:00

I am using ASP.NET MVC 2.0 & .NET framework 3.5 sp1. I have an

  • 0

I am using ASP.NET MVC 2.0 & .NET framework 3.5 sp1.

I have an action that currently takes a viewmodel as it’s parameter. The action has a return type of FileResult. It’s used in my application to generate a pdf and stream it to the user for download. Is there a way to have this action run asynchronously so multiple files can be streamed back to the user? I know this is ugly, but it’s what the user requested and b/c privacy & permission issues, these files exist in memory only so I can’t zip them together and stream that down. In essence, the user would click what files he wanted to download and a download dialogue would display for each one.

I’m looking into having my controller inherit AsyncController and implementing the MyActionAsync & MyActionCompleted type methods. Based on my own testing, I’m thinking this can’t be done. Can someone verify this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T18:47:59+00:00Added an answer on May 23, 2026 at 6:47 pm

    One request to the server can only return single file. So your code should work just fine as it is – user clicks on a link and get a file, click on another link and gets another file.

    If you want to have checkboxes like “file1[], file2[x], file3[x], file4[]” I think you can call click with JavaScript on corresponding links – as long as respons have correct headers it should show file save dialogs. Also user expirience will be strange I think.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using ASP.NET MVC & Spark, I have a view that is listing a number
Using ASP.NET MVC 2.0, I have an actionlink that is used for comments on
I am currently using ASP.NET MVC and Entity Framework Code First using the repository
I'm using ASP.NET MVC and I have a partial control that needs a particular
Using Asp.net MVC, I have one view that's strongly bind to List , and
Using ASP.NET MVC there are situations (such as form submission) that may require a
Using ASP.Net MVC on my Site.Master I have: <head runat=server> <title><asp:ContentPlaceHolder ID=TitleContent runat=server />
To begin with: Using Entity Framework v4.0. ASP.NET MVC 2.0. Visual Studio 2010. I
I am using ASP.NET MVC 2 & .Net 3.5 with Visual Studio 2008. Ok,
I am using ASP.NET MVC 2 & C#. I want to include/embed an html

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.