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 6230627
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T09:46:58+00:00 2026-05-24T09:46:58+00:00

I am trying to generate a pdf on a fly at runtime from a

  • 0

I am trying to generate a pdf on a fly at runtime from a database, The application is working fine, but I am wondering if I can show a progress bar until the pdf is generated with out using ajax.

Here is my Action to generate PDF

public ActionResult GeneratePDF(){
    //This Generates PDF
    return ...
}

Now I want to show a progress bar info until the PDF is generated, some thing like this

public ActionResult GeneratePDF(){
        //show progress
        ...............
        //This Generates PDF
        return View();
    }

public ActionResult ShowProgress(){
   //Show progress

    ......
    //return to GeneratePDF to show pdf when it is ready
    return RedirectToAction("GeneratePDF");
}

I appreciate for any suggestions on how to handle 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-24T09:46:59+00:00Added an answer on May 24, 2026 at 9:46 am

    I don’t think you can do this. Even if you could continue like this on the server side, once the browser gets a response from its initial request it won’t know what to do with anything else that comes in later.

    The HTTP protocol in fundamentally built on a concept of request-response, request-response – and it’s the browser that’s in the driver’s seat, not the server. AJAX is the way to go for this kind of client-side UI richness.

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

Sidebar

Related Questions

I'm trying to generate a pdf file from data in a database using JasperReports
I'm trying to dynamically generate a pdf form from an asp.net C# application. The
I am trying to find a SDK that can generate PDF from OpenXml. I
I'm trying to generate some LaTeX code which from thereon should generate PDF documents.
I have an iPad app and I'm trying to generate a PDF from a
G'day guys, trying to build a small invoicing system (that can generate PDF's using
I'm trying to generate a pdf from template using this snippet: def write_pdf(template_src, context_dict):
I am trying to generate a PDF from a web page (or series of
I am getting this exception while trying to generate a .PDF file from my
I am trying to generate a PDF from a SVG input file with Python

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.