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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T09:56:18+00:00 2026-06-17T09:56:18+00:00

Lately I’ve been using doodle reporting to generate excel and pdf reports. I was

  • 0

Lately I’ve been using doodle reporting to generate excel and pdf reports. I was doing that with a button link because the report is not dynamic.

But now I have a requirement where the parameters are dynamic, where I have a form of parameters and the users will fill these form and hit submit. The form will submit to another action and that action should generate a pdf report.

When I tried this code:

return new ReportResult(report, new PdfReportWriter());

It just generate the report in the page and I’m unable to download. Any idea how?

I’ve already included all the required dlls and I’m able to generate when I’m using an actionLink.

  • 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-06-17T09:56:19+00:00Added an answer on June 17, 2026 at 9:56 am

    To solve the problem specify the content type and filename:

    return new ReportResult(report, new ExcelReportWriter(), "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet") { FileName = "Report.xls" }; 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Lately I have been needing to implement small classes that generate a bunch of
Lately I've been favoring using named pipes (option --enable-named-pipes) in MySQL running on windows,
Lately I've been writing some JS code using jQuery and JavaScript as it is
Lately I've been wondering if there's a difference between initializing the variables that have
Lately as part of my day job I've been learning IBM Rhapsody and using
Lately I have gotten into SNMP agent development and have been using the 30
Lately I've been writing FFI code that returns a data structure in the IO
Lately I have been finding that some of the ColdFusion applications on my production
Lately I have been doing some numerical method programming in C. For the bug
Lately, I've been running into more and more poorly designed websites that do things

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.