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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T23:39:31+00:00 2026-06-12T23:39:31+00:00

I’ve been looking for this answer for a couple days now and I’ve been

  • 0

I’ve been looking for this answer for a couple days now and I’ve been getting little bits of information that make it seem that you can have ReportViewer Control automatically prompt for the report’s parameters. Just everything that I’ve tried and found doesn’t seem to work. I’ve gotten the Parameter Prompts to work on a Windows Form but I just cannot get it to work in ASP.NET

I guess I’m simply asking can you get Report-viewer’s Parameter Prompts to work in ASP.NET? if so, How?

I know you can do it manually, it’s just, I feel if you can make ReportViewer Prompt automatically why program it yourself?

Edit: this is for local processing btw.

  • 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-12T23:39:33+00:00Added an answer on June 12, 2026 at 11:39 pm

    Prompting for parameters is not supported in local processing mode.

    In article Report Parameters Dialog Box (Visual Studio Report Designer), which is invoked by clicking the Help button on that dialog, it says in the introductory text that:

    The parameters properties that you specify in the Report Parameters
    dialog box become part of the report definition. Some properties are
    intended for programmatic use only. In contrast with reports that are
    processed on a remote report server, a locally processed report does
    not have a parameter input area
    used for selecting or typing parameter
    values.

    A little testing shows me that the default values specified for the parameters will be used, unless you modify them programmatically. I could not find an explanation on this design decision. If you want to use local processing, and prompt for user input, I would recommend to follow this solution:

    I you embed the reports in a ReportViewer Control, you can put it on a page or form and add custom input controls to that page or form to gather report parameters. In the code-behind files, you will then pass the parameter values using code like this:

    List<ReportParameter> parameterList = new List<ReportParameter>();
    List<string> selectedProductTypes = listboxProductTypes.GetSelectedValues();
    ReportParameter productTypes = new ReportParameter("ProductTypes", selectedProductTypes.ToArray(), false);
    ReportParameter username = new ReportParameter("Username", "<current user>", false);
    parameterList.Add(productTypes);
    parameterList.Add(username);
    reportViewer.LocalReport.SetParameters(parameterList);
    

    In this example, you can see how to pass a multi-valued parameter, the values of which are taken from a multi-select ListBox.

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

Sidebar

Related Questions

I have a jquery bug and I've been looking for hours now, I can't
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
this is what i have right now Drawing an RSS feed into the php,
I know there's a lot of other questions out there that deal with this
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
For some reason, after submitting a string like this Jack’s Spindle from a text
I've got a string that has curly quotes in it. I'd like to replace
I have a small JavaScript validation script that validates inputs based on Regex. I

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.