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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T08:41:50+00:00 2026-06-12T08:41:50+00:00

I am using Devexpress XtraReport in Windows application for reporting purpose. I have set

  • 0

I am using Devexpress XtraReport in Windows application for reporting purpose. I have set a parameter param1 having string as type in my XtraReport1 and using following code to pass parameter.

private void button1_Click(object sender, EventArgs e)        
{
    XtraReport1 report = new XtraReport1();            
    report.Parameters["param1"].Value = "kashif";
    report.Print();
}

when I press button1 the following windows apperas and ask me for param1 values having already displayed “kashif” in it with button “Submit” and “Reset”
My Problem is: I don’t want this window to get opened when i Press button1 rather I want to pass directly “kashif” in it without prompting me for param1 value.
testimage

  • 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-12T08:41:51+00:00Added an answer on June 12, 2026 at 8:41 am

    From their documentation here How To: Silently Pass a Parameter Value

    Add a parameter to a report, set the parameter's Modifiers property to Public, and disable the parameter's Parameter.Visible property. When there are no visible parameters in a report, their values are passed "silently" (without exposing the Parameters UI to end-users).

    private void button1_Click(object sender, EventArgs e) 
    {
        // Create a report instance.
        XtraReport1 report = new XtraReport1();
    
        // Obtain a parameter, and set its value.
        report.parameter1.Value = 30;
    
        // Hide the Parameters UI from end-users.
        report.parameter1.Visible = false;
    
        // Show the report's print preview.
        report.ShowPreview();
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

DevExpress have no simple report viewer control for using an XtraReport on a Windows
I am using devexpress for windows application. I am having a devxgrid which populates
Hi I am using devexpress and I set the mask type to numeric and
I am using DevExpress XtraGrid in c#.NET application. I want to disable or set
I am using DevExpress in my winform application, I have a gridview, data entry
I am using DevExpress XtraReport for a reporting software.I faced a weird problem with
i am using devexpress gridview 9.2. i have 2 gridview having 2 colum -->
I'm using DevExpress LookUpEdit control in my application. I want to set the datasource
I have a Delphi application using DevExpress cxGrid (which is connected to database). I
I have created a web application using Devexpress trial version. I have installed the

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.