Page 1 of 1

Variables in Mobile Designer

Posted: Thu Oct 27, 2016 2:35 pm
by r.bianco
Stimulsoft.Report.MobileDesign, Version=2016.2.0.0

Hi everyone,
my goal is to populate the report variables before opening the mobile designer.
In the Page_Load event I create the object StiReport 'myreport' and force its variables:

myreport ["one"] = "blah blah";

Unfortunately it does not seem to work, if I go in preview the variables are empty.
Where am I wrong?

Re: Variables in Mobile Designer

Posted: Fri Oct 28, 2016 1:32 pm
by Alex K.
Hello,

Your code is for the compiled report.
Please try to use the following code to provide value to designer:

Code: Select all

myreport.Dictionary.Variables["one"].ParameterValue ="blah blah";
Thank you.

Re: Variables in Mobile Designer

Posted: Thu Nov 03, 2016 4:34 pm
by r.bianco
Very well, thank you.

Re: Variables in Mobile Designer

Posted: Fri Nov 04, 2016 1:03 pm
by Alex K.
Hello

We are always glad to help you!
Let us know if you need any additional help.

Thank you.