Search code examples
c#c#-4.0stimulsoft

Parameters not reflect Panel in stimulsoft (C#)


showing parameters panel the report.
I do not want show.

(source: picofile.com)


My Code is:

StiReport sr = new StiReport();
sr.Load(ClsVariable.Address + "ReportCustomerBuy.mrt");
sr.Dictionary.Variables["Ccode"].Value = txtCode.Text;
sr.Dictionary.Variables["Cname"].Value = txtName.Text;
sr.Dictionary.Variables["Ctel"].Value = txtTel.Text;
sr.Dictionary.Variables["Caddress"].Value = txtAddress.Text;
sr.Dictionary.Variables["Cfathername"].Value = txtFatherName.Text;
sr.Dictionary.Variables["Cdate"].Value = txtDate.Text;
sr.Dictionary.Variables["CPay"].Value = lblGivePrice.Text;
sr.Dictionary.Variables["CHesabK"].Value = lblPriceKK.Text;
sr.Dictionary.Variables["CBedehkar"].Value = s;
sr.Show();

Solution

  • Disable the request from user property

    sr.Dictionary.Variables["Ccode"].RequestFromUser = false;