Hello,
your product is wonderfull. But we have one problem which we need to solve to have successful implementation.
We need to pass in some reference to our instance of object and than call its functions directly in report. I have found solution only for calling static functions. Is here any solution for our needs, please?
Thanks a lot.
MyObject in StiReport
MyObject in StiReport
Hello,
Yes you can do this. Please make following steps:
1. Add reference to your assembly (which contain required types);
2. Create new variable with type - object;
3. Before report rendering assign to this variable required object:
4. Call content of your object from expression:
Thank you.
Yes you can do this. Please make following steps:
1. Add reference to your assembly (which contain required types);
2. Create new variable with type - object;
3. Before report rendering assign to this variable required object:
Code: Select all
report.Compile();
report.CompiledReport["MyVariable"] = myObject;
Code: Select all
{((MyNameSpace.MyType)MyVariable).SomeProperty}