Hi.
I have a situation where, before opens the report designer, the client selects which datasources will be avaiable to him, and then I create some business objects, according to them.
The problem is, if I create a report, based on a business obj, like the following: BussObj { prop1, prop2, prop3 }and after sometime I what to edit it, using my business object with different props, like this: BussObj { prop3, prop4, prop5 }.
Obviously I would like only prop3 ~ 5 would be displayed in the designer, but unfortunately all my 5 props (the 3 old + the 2 new) are displayed.
I'm using StiReport.RegBusinessObject(string name, object value) and StiReport.Dictionary.Synchronize()to assign my business objects to my report.
Thanks and Regards,
Daniel Schmitz
Problems with dynamic business objects
-
- Posts: 32
- Joined: Tue Jul 03, 2012 2:16 pm
Re: Problems with dynamic business objects
Hello,
Can you please send us a sample project which reproduces the issue for analysis.
Thank you.
Can you please send us a sample project which reproduces the issue for analysis.
Thank you.
-
- Posts: 32
- Joined: Tue Jul 03, 2012 2:16 pm
Re: Problems with dynamic business objects
Hi, the problem was solved by clearing the Columns from the StiBusinessObject before set the newer ones.
Thanks for the attention.
Thanks for the attention.
Re: Problems with dynamic business objects
Dear Daniel,
Great!
Thank you.
Great!
Thank you.